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

Add a .Release() method to FlowLimiter. #291

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Aug 18, 2022

For the BBR implementation I'm working on, I'm finding spawning
a goroutine to manage things extremely attractive, but that means
needing to shut it down.

This gives us a way to do that: When a Client is Release()ed, it
will Release() its FlowLimiter.

For the BBR implementation I'm working on, I'm finding spawning
a goroutine to manage things extremely attractive, but that means
needing to shut it down.

This gives us a way to do that: When a Client is Release()ed, it
will Release() its FlowLimiter.
@lthibault lthibault merged commit 3370d6e into capnproto:main Aug 18, 2022
@zenhack zenhack deleted the FlowLimiter.Release branch August 18, 2022 17:51
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.

2 participants