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

Initialize rate limiter balance with maxBalance #135

Merged
merged 1 commit into from Mar 29, 2017
Merged

Conversation

black-adder
Copy link
Contributor

This ensures that GuaranteedThroughputProbabilisticSampler will always sample a new operation the first time it sees it.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.951% when pulling d6d515f on first_call into 570367f on master.

@black-adder black-adder merged commit 3116cd9 into master Mar 29, 2017
@black-adder black-adder deleted the first_call branch March 29, 2017 17:57
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

3 participants