Skip to content

Add logging to stderr for slow tiles (get/put) during a tilelive-copy#148

Merged
yhahn merged 6 commits intomasterfrom
slowTile
Oct 16, 2015
Merged

Add logging to stderr for slow tiles (get/put) during a tilelive-copy#148
yhahn merged 6 commits intomasterfrom
slowTile

Conversation

@yhahn
Copy link
Member

@yhahn yhahn commented Oct 15, 2015

  • Always: changes getTileRetry and putTileRetry util functions to take a stream object and emit slow events when a tile op exceeds the slowTime threshold. slowTime threshold defaults to 60s.
  • Optional: if options.slow = <time in ms> is passed to tilelive.copy(), copy sets the threshold and adds handlers for outputting to stderr whenever the slow event is emitted.
  • Exposes this option to tilelive-copy bin.

This would start 5.10.x

@rclark 👀 ?

yhahn added a commit that referenced this pull request Oct 16, 2015
Add logging to stderr for slow tiles (get/put) during a tilelive-copy
@yhahn yhahn merged commit 5c2017a into master Oct 16, 2015
@yhahn yhahn deleted the slowTile branch October 16, 2015 02:31
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