Skip to content

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

Merged
lthibault merged 1 commit into
capnproto:mainfrom
zenhack:FlowLimiter.Release
Aug 18, 2022
Merged

Add a .Release() method to FlowLimiter.#291
lthibault merged 1 commit into
capnproto:mainfrom
zenhack:FlowLimiter.Release

Conversation

@zenhack

@zenhack zenhack commented Aug 18, 2022

Copy link
Copy Markdown
Contributor

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