Class FlowSignalOptions
- Namespace
- FlowOrchestrator.Core.Configuration
- Assembly
- FlowOrchestrator.Core.dll
Configuration for the built-in WaitForSignal step type.
Applied via FlowOrchestratorBuilder.Signals.
public sealed class FlowSignalOptions
- Inheritance
-
FlowSignalOptions
- Inherited Members
Fields
DefaultIndefiniteParkInterval
The default for IndefiniteParkInterval: 24 hours.
public static readonly TimeSpan DefaultIndefiniteParkInterval
Field Value
MaxIndefiniteParkInterval
The largest honoured IndefiniteParkInterval: 30 days.
public static readonly TimeSpan MaxIndefiniteParkInterval
Field Value
Remarks
The InMemory runtime waits out a schedule with Delay(TimeSpan), which rejects
anything above ~49.7 days — the safety net would then silently never fire — and a value near
MaxValue overflows the UtcNow + delay every dispatcher computes,
turning each attempt into a poison job. Larger values are clamped rather than rejected so a
generous setting degrades to "a month" instead of breaking the step.
Properties
IndefiniteParkInterval
How long a WaitForSignal step that declares no timeoutSeconds parks between
safety-net re-invocations. Each re-invocation re-reads the waiter and completes the step when a
payload has landed, so this is the worst-case resume latency if every other resume path fails.
public TimeSpan IndefiniteParkInterval { get; set; }
Property Value
Remarks
Each re-invocation runs the full step path — a claim, an attempt row and a few storage round-trips — so a short interval multiplies the run history of every long-parked step. The engine wakes a parked step directly on delivery, and re-checks the waiter itself after releasing the claim (#190), so the safety net is a last resort and the 24-hour default is deliberate. Values at or below Zero are ignored and the default is used; values above MaxIndefiniteParkInterval are clamped.