systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.5k stars 232 forks source link

be less chatty when run non-interactively #767

Closed cldellow closed 1 month ago

cldellow commented 1 month ago

This introduces a minimum threshold for writing the progress updates like:

The threshold only applies when run non-interactively, for example, when in a GitHub action. It shoots for one line of output for every 1% of progress. I was motivated to do this because processing North America in an action generated > 500 MB of logs and seemed to cause GitHub to kill the action.

Interactive use should be unaffected. Windows is always treated as interactive, as I'm not sure how to test for that.