You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi you can test it in the 2.0 branch now. If you have feedback, I am happy to listen. Cheers, Stefan
Play around 2.0's queue_size and it works like a charm.
However I notices that the queue is unbounded by default. Not sure if it's a good idea to put a default limit on it, say num_of_worker * some_default_ratio.
rust-threadpool
usechannel
for receiving jobs, that means if the number of jobs is very large it will consume lots of memory.So I'd like to know if it is a good idea or not to use
sync_channel
instead ofsync
.I googled and found:
channel
withsync_channel
: veer66@aa8b157Not sure why the author hadn't submitted a PR.
The text was updated successfully, but these errors were encountered: