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

Remove use of Instant::now() in BBR bandwidth estimation code #2157

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

recatek
Copy link
Contributor

@recatek recatek commented Feb 18, 2025

This was the only case where Instant::now() is used in quinn-proto or quinn-udp for anything other than tests or logging. Making this change to keep these two crates more IO-agnostic.

Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Collaborator

@gretchenfrage gretchenfrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

This was the only case where `Instant::now()` is used in quinn-proto or quinn-udp for anything other than tests or rate-limiting logging. Making this change to keep these two crates more IO-agnostic.
@djc djc force-pushed the remove-instant-now branch from 2b35eec to 4f51789 Compare February 19, 2025 09:06
@djc djc enabled auto-merge February 19, 2025 09:07
@djc djc added this pull request to the merge queue Feb 19, 2025
Merged via the queue into quinn-rs:main with commit 2ba600b Feb 19, 2025
20 checks passed
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.

4 participants