forked from graphite-project/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Based on a patch at graphite-project#888 by ploxiln; I've fixed the blocking issue and also made it drop metrics only if it comes to write them after continually failing to have enough create tokens. If carbon is configured with a create rate of 0, this deque will grow indefinitely. In pretty much all other circumstances, behaviour should be pretty similar.
- Loading branch information
Showing
2 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters