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

Commits on Apr 25, 2017

  1. Allow for an external clock in token bucket.

    Allow now to be externally provided to avoid unnecessary gettimeofday()
    calls.
    mstemm committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    87a6c74 View commit details
    Browse the repository at this point in the history
  2. Allow rate to be less than 1.

    Change all the token-related variables to doubles so the rate can be
    less than 1.
    mstemm committed Apr 25, 2017
    Configuration menu
    Copy the full SHA
    e183de3 View commit details
    Browse the repository at this point in the history