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
Problem Description:
When FuturesUnordered is polled, the first ready value is immediately returned, leaving other futures in ready_to_run_queue unpolled. This is problematic when those futures need to be polled to get started (e.g., sending requests to a server). For example, using reqs.buffered(10) is supposed to maintain 10 requests in flight or ready, but if some requests are ready and being processed, FuturesUnordered does not trigger the remaining requests to be sent.
This problem may also be found on ForEachConcurrent, FlattenUnordered, and other combinators utilizing FuturesUnordered. But I'm only focus on Buffered and BufferUnordered for now to get things started.