bender
bender copied to clipboard
Throttle futures
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