pub struct StormConfig {
pub run_id: String,
pub bead_id: String,
pub max_queue_depth: usize,
pub queue_timeout_ms: u64,
pub fairness_window: usize,
pub cancel_delay_ms: u64,
}Expand description
Tunables for the storm run.
Fields§
§run_id: StringCorrelates every event of this run.
bead_id: StringOwning bead id.
max_queue_depth: usizeMaximum queued jobs before a fail-open job falls back to local.
queue_timeout_ms: u64Maximum milliseconds a job waits in the queue before timing out.
fairness_window: usizeFairness lookback window: how many recent placements count toward a worker’s recent-selection penalty.
cancel_delay_ms: u64Delay before a cancel_when_queued job is cancelled, once queued.
Implementations§
Trait Implementations§
Source§impl Clone for StormConfig
impl Clone for StormConfig
Source§impl Debug for StormConfig
impl Debug for StormConfig
impl Eq for StormConfig
Source§impl PartialEq for StormConfig
impl PartialEq for StormConfig
impl StructuralPartialEq for StormConfig
Auto Trait Implementations§
impl Freeze for StormConfig
impl RefUnwindSafe for StormConfig
impl Send for StormConfig
impl Sync for StormConfig
impl Unpin for StormConfig
impl UnsafeUnpin for StormConfig
impl UnwindSafe for StormConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.