-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Make unbounded channels size warning exact (part 2) #13504
Conversation
Hmm... reading this makes me think, do we actually need to support the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Currently Otherwise, I don't know if this |
Yeah, let's remove the feature flag and let it be metered always! |
Done! |
@dmitry-markin so why you replace |
We introduced the diagnostics of channel clogging in #12971 that fires an error if the queue grows above the limit. Originally we thought of limits in the order of 100's or 1000's, so didn't pay attention to off-by-one errors. It was later requested to make the queue size trigger exact. This is what this PR did (and we needed the channel that provides |
This is a second part of #13490 that switches from
futures-channel
toasync-channel
inutils/mpsc
.CC @nazar-pc