Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rearrange to minimize chatter in import planet log #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tgrigsby-sc
Copy link
Contributor

Watching the log on the osm2pgsql runner gets frustrating because it dumps 50 lines of text into the log every few minutes when the Tileops runner tries to restart import_planet.sh, only to find it's already running.

This PR reduces that chatter by reorganizing - now we only initialize 3 vars and check to see if it's running first, which ends up being true > 99% of the time import_planet.sh runs. This should reduce garbage to sift through by about 80%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant