pub struct RunsConfig {
pub heartbeat_interval_secs: u64,
pub heartbeat_stale_after_intervals: u32,
}Expand description
Run-status heartbeat tuning. Both values are config, never literals at a call site: the right interval depends on how long the machine’s steps take.
Fields§
§heartbeat_interval_secs: u64How often execute_dag stamps last_heartbeat_at.
heartbeat_stale_after_intervals: u32How many missed intervals before a live process counts as stalled.
Three tolerates one lost tick plus scheduling jitter without calling a
healthy run dead.
Trait Implementations§
Source§impl Clone for RunsConfig
impl Clone for RunsConfig
Source§fn clone(&self) -> RunsConfig
fn clone(&self) -> RunsConfig
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 RunsConfig
impl Debug for RunsConfig
Source§impl Default for RunsConfig
impl Default for RunsConfig
Source§impl<'de> Deserialize<'de> for RunsConfig
impl<'de> Deserialize<'de> for RunsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunsConfig
impl RefUnwindSafe for RunsConfig
impl Send for RunsConfig
impl Sync for RunsConfig
impl Unpin for RunsConfig
impl UnsafeUnpin for RunsConfig
impl UnwindSafe for RunsConfig
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