Skip to main content

Interface: ITimeSkippingConfig

common.v1.ITimeSkippingConfig

Properties of a TimeSkippingConfig.

Implemented by

Properties

disablePropagation

Optional disablePropagation: null | boolean

By default, executions started by another execution (e.g. a child workflow of a parent workflow or a schedule with the time-skipping policy enabled) inherit the "enabled" flag and skip time when possible. This flag disables that inheritance.


enabled

Optional enabled: null | boolean

Enables or disables time skipping for this workflow execution.


fastForwardConfig

Optional fastForwardConfig: null | IFastForwardConfig

An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.


maxSessionSkipCount

Optional maxSessionSkipCount: null | number

The maximum number of skips allowed every time this field is updated. It protects the execution from situations like unlimited retries when backoff is skipped.

Every time the execution skips time, the skip count is incremented by one, and when it reaches max_session_skip_count, time skipping stops. Whenever this config field is updated, the accumulated skip count is cleared, marking the start of a new session. For an execution with a chain of runs (retry, cron, continue-as-new), the count is accumulated across all runs within the same session.

If this field is not set, the server applies a large default value (e.g. 100). The default can be changed through dynamic config, and is overridden by this field when set.