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

Fix too long first wait time for constant_pacing (and constant_throughput) #2428

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

cyberw
Copy link
Collaborator

@cyberw cyberw commented Oct 19, 2023

It incorrectly assumed the first iteration was instantaneous (because it had no way of knowing when the first iteration started), thus making the first sleep longer than it should be.

Fixes #2427

…umed the first iteration was instantaneous (because it had no way of knowing when the first iteration started)
@cyberw cyberw merged commit 0d1c03a into master Oct 19, 2023
20 of 21 checks passed
@cyberw cyberw deleted the fix-incorrect-first-wait-time-for-constant_pacing branch October 19, 2023 20:02
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.

Pacing and RPS trouble
1 participant