Skip to content

ExecutionLimitConfig

Defined in: packages/client/src/worker/engine-control.ts:250

The opt-in execution limit (ADR D5). ONE engine-construction value; DISABLED BY DEFAULT — no finite worst-case query duration exists, and the limit CONVERTS slow to terminated by policy, so enabling it must be a deliberate consumer choice (the public contract). When enabled, the limit CONVERTS slow to terminated after the control-probe threshold — it is NEVER claimed as death evidence. This feature is ELECTED-PLACEMENT ONLY: on SharedWorker-direct placement (WebKit) the option is rejected as unsupported — that rejection is wired in a later step; this module only defines the config + the cross-tab mismatch rule.

optional maxDispatchMs?: number

Defined in: packages/client/src/worker/engine-control.ts:252

ms; undefined = DISABLED (the default — preserves unbounded queries).