Adjustable progress update interval (for tilelive-copy)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 540
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if the progress update interval was adjustable (in `tilelive-copy`). Progress output is really nice ... but the hard coded default of 100 ms is pretty verbose on a long copy. I'd be happy with something in the range of 5-15 minutes for some operations (a 9000:1 decrease in log size).
https://github.com/mapbox/tilelive/blob/efdfe7d2b121ccc8ace74844088913f1f981abcc/lib/tilelive.js#L328
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lib/tilelive.js around line 328 and trace how tilelive-copy emits progress updates. Identify how the hard-coded 100 ms interval is applied and choose the existing configuration or command path that should expose it. Done means tilelive-copy can use a much longer interval, such as 5–15 minutes, without losing progress reporting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100