pub struct LambdaScheduledRecoveryConfig {
pub stale_cutoff: Duration,
pub stale_markers_limit: usize,
pub reclaimable_claims_limit: usize,
}Expand description
Configuration for a scheduled-recovery sweep.
Fields§
§stale_cutoff: DurationA marker is “stale” when now() - marker.recorded_at >= stale_cutoff.
Must be larger than the worst-case fresh-dispatch latency so
in-flight dispatches are not preempted. Recommended default
is the runtime push_claim_expiry value (10 min default).
stale_markers_limit: usizeMax markers processed per tick.
reclaimable_claims_limit: usizeMax reclaimable claims processed per tick.
Trait Implementations§
Source§impl Clone for LambdaScheduledRecoveryConfig
impl Clone for LambdaScheduledRecoveryConfig
Source§fn clone(&self) -> LambdaScheduledRecoveryConfig
fn clone(&self) -> LambdaScheduledRecoveryConfig
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 moreAuto Trait Implementations§
impl Freeze for LambdaScheduledRecoveryConfig
impl RefUnwindSafe for LambdaScheduledRecoveryConfig
impl Send for LambdaScheduledRecoveryConfig
impl Sync for LambdaScheduledRecoveryConfig
impl Unpin for LambdaScheduledRecoveryConfig
impl UnsafeUnpin for LambdaScheduledRecoveryConfig
impl UnwindSafe for LambdaScheduledRecoveryConfig
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