pub struct Concurrency {
pub global: usize,
pub per_provider: BTreeMap<String, usize>,
pub default_per_provider: usize,
pub adaptive: bool,
pub max_retries: u32,
pub base_backoff: Duration,
}Expand description
Concurrency policy for a matrix run.
Fields§
§global: usizeMax total cases in flight across all providers.
per_provider: BTreeMap<String, usize>Explicit per-provider ceilings (provider id → max in flight).
default_per_provider: usizeCeiling for providers without an explicit entry.
adaptive: boolWhether to shrink/grow per-provider limits in response to rate limits.
max_retries: u32Max times a rate-limited case is re-queued before it is recorded failed.
base_backoff: DurationBase backoff applied after a rate limit (doubled per consecutive hit).
Implementations§
Trait Implementations§
Source§impl Clone for Concurrency
impl Clone for Concurrency
Source§fn clone(&self) -> Concurrency
fn clone(&self) -> Concurrency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Concurrency
impl Debug for Concurrency
Auto Trait Implementations§
impl Freeze for Concurrency
impl RefUnwindSafe for Concurrency
impl Send for Concurrency
impl Sync for Concurrency
impl Unpin for Concurrency
impl UnsafeUnpin for Concurrency
impl UnwindSafe for Concurrency
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more