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

Allow for an external clock in token bucket. #234

Merged
merged 2 commits into from
Apr 26, 2017
Merged

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Apr 25, 2017

Allow now to be externally provided to avoid unnecessary gettimeofday()
calls.

Allow now to be externally provided to avoid unnecessary gettimeofday()
calls.
Change all the token-related variables to doubles so the rate can be
less than 1.
@mstemm mstemm merged commit 76876bc into dev Apr 26, 2017
@mstemm mstemm deleted the token-bucket-external-time branch April 26, 2017 00:40
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.

None yet

1 participant