alexcrichton commented on issue #7461:
Good point @pchickey, how about this amended approach? I had to increase the channel capacity by 1 to get a test to pass but otherwise this seems like a good way to avoid that. This way we don't allow writes unless there's guaranteed capacity in the channel so we're guaranteed channel sends always succeed.
Last updated: Nov 22 2024 at 16:03 UTC