Skip to main content

BULK_REPLACE_PHASE_DEADLINE

Constant BULK_REPLACE_PHASE_DEADLINE 

Source
const BULK_REPLACE_PHASE_DEADLINE: Duration;
Expand description

Per-phase deadline for the bulk-replace handler. Unlike ENGINE_RESPONSE_TIMEOUT (which is the per-message budget on the singular endpoints), this is the budget for all legs in a phase combined. Keeps worst-case bulk latency bounded even if a single leg’s response is hung. Phase 1 and Phase 2 each get their own deadline of this size, so a 50-leg bulk is bounded by roughly 2 × this duration end-to-end.