pub struct SchedulerConfig {
pub max_concurrent_executions: usize,
pub handle_missed_executions: bool,
pub max_missed_executions: usize,
pub execution_timeout_secs: u64,
pub enable_persistence: bool,
pub persistence_path: Option<String>,
pub tick_interval_ms: u64,
pub timezone: String,
}Expand description
Scheduler configuration.
Fields§
§max_concurrent_executions: usizeMaximum number of concurrent workflow executions.
handle_missed_executions: boolEnable missed execution handling.
max_missed_executions: usizeMaximum number of missed executions to handle.
execution_timeout_secs: u64Execution timeout in seconds.
enable_persistence: boolEnable scheduler state persistence.
persistence_path: Option<String>Persistence directory path.
tick_interval_ms: u64Scheduler tick interval in milliseconds.
timezone: StringTime zone for scheduling (IANA timezone name).
Trait Implementations§
Source§impl Clone for SchedulerConfig
impl Clone for SchedulerConfig
Source§fn clone(&self) -> SchedulerConfig
fn clone(&self) -> SchedulerConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SchedulerConfig
impl Debug for SchedulerConfig
Source§impl Default for SchedulerConfig
impl Default for SchedulerConfig
Source§impl<'de> Deserialize<'de> for SchedulerConfig
impl<'de> Deserialize<'de> for SchedulerConfig
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 SchedulerConfig
impl RefUnwindSafe for SchedulerConfig
impl Send for SchedulerConfig
impl Sync for SchedulerConfig
impl Unpin for SchedulerConfig
impl UnsafeUnpin for SchedulerConfig
impl UnwindSafe for SchedulerConfig
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