bender icon indicating copy to clipboard operation
bender copied to clipboard

Throttle futures

Open micprog opened this issue 2 years ago • 0 comments

Due to an update to tokio and futures in #94, the throttling for futures was removed. If this causes instability when running bender, the throttling will have to be refactored as well. Please report any instability you may notice (possibly too many simultaneous git requests).

Relevant code sections: src/future_throttle.rs https://github.com/pulp-platform/bender/blob/f82ef0e44f30c963be7add9790887354aa7dc8b7/src/sess.rs#L500-L519 https://github.com/pulp-platform/bender/blob/f82ef0e44f30c963be7add9790887354aa7dc8b7/src/sess.rs#L528-L545 https://github.com/pulp-platform/bender/blob/f82ef0e44f30c963be7add9790887354aa7dc8b7/src/sess.rs#L809-L834 https://github.com/pulp-platform/bender/blob/f82ef0e44f30c963be7add9790887354aa7dc8b7/src/sess.rs#L892-L961

micprog avatar Aug 05 '22 08:08 micprog