pub enum Overlap {
Skip,
Allow,
}Expand description
What happens when a scheduled pipeline is due and its previous wave has not finished.
The default is to skip. Starting a second copy means paying twice for one result and, where agents share a workspace, two of them writing to the same files; skipping means being one interval late. For unattended spending those are not comparable.
Variants§
Skip
Miss this firing and wait for the next one.
Allow
Start another instance anyway.
Safe when instances cannot interfere — a per-itinerary workspace, or agents that only
read — and a way to pay twice when they can.
Implementations§
Trait Implementations§
impl Copy for Overlap
Source§impl<'de> Deserialize<'de> for Overlap
impl<'de> Deserialize<'de> for Overlap
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
impl Eq for Overlap
impl StructuralPartialEq for Overlap
Auto Trait Implementations§
impl Freeze for Overlap
impl RefUnwindSafe for Overlap
impl Send for Overlap
impl Sync for Overlap
impl Unpin for Overlap
impl UnsafeUnpin for Overlap
impl UnwindSafe for Overlap
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