Skip to main content

CONTROL_SETTLE_BOUND

Constant CONTROL_SETTLE_BOUND 

Source
pub const CONTROL_SETTLE_BOUND: Duration;
Expand description

How long this client holds an operator’s word open before settling it.

The words this bounds are cancel and recycle, and each one is a notify the plugin answers with a frame on the connection it already serves: a plugin that ends its turn to answer has answered inside one HEARTBEAT_INTERVAL, and the request round trip the adapter bounds itself with (REQUEST_TIMEOUT) is well past that. Three intervals leaves a plugin that is stalled but still alive two missed beats before this client decides the word went unanswered — it is the window the reconnect sweep reads an agent’s silence through, so the two readings agree — and it is half the sixty-second default of [client] reconnect_grace_secs. An operator watching a stuck row gave up on the live run in seconds and reached for onlyne repair fail; a minute would lose to that, and this does not.

A constant rather than a config key on purpose: what it bounds is not a policy an operator tunes, it is the point past which this client’s own record of the word outlives the plugin that was asked to answer it.