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
Currently merge_all_threads can result in out-of-memory, when concurrent is not Infinity and the source submits items faster than the mapper handles items.
I wonder if we could change the type of concurrent from usize to a struct:
I'd be glad to accept Back-pressure support for merge_all_threads op. To implement it, I would prefer to keep the concurrent type and add a with_backpressure method to config the callback for MergeAllOp/MergeAllOpThreads. So, we can keep the API compatible and make the Back-pressure be an optional feature.
Currently
merge_all_threads
can result in out-of-memory, whenconcurrent
is notInfinity
and the source submits items faster than the mapper handles items.I wonder if we could change the type of
concurrent
fromusize
to astruct
:The text was updated successfully, but these errors were encountered: