Closed wfxr closed 5 years ago
Thanks for this patch! -- your thinking here is sound, and we've been thinking about this too for a while! We've come up with a slightly more structural fix by using try_for_each_concurrent
(https://github.com/rustasync/runtime/pull/24), which can also join all errors.
In itself that's not a great API, so we've started work on #25 to make parallel loop iteration easy to do. Do you feel this would be helpful for you?
@yoshuawuyts OK. I See. Thanks for your explanation.
@wfxr glad it was helpful; going to close this PR out in favor of #24 then (:
Description
Remove
await?
inner the while loop which block the server from serving the next client.Types of changes