Skip to main content

BUSY_GRACE

Constant BUSY_GRACE 

Source
pub const BUSY_GRACE: Duration;
Expand description

How long a live server that does not answer its probe is waited for before its lease is taken over.

A probe that times out is not a dead server. On 2026-09-15 ten MCP clients attached at once to a server a shell entry had started; nine were bridged to it, and the tenth probed while the server was answering the other nine, heard nothing within PROBE_TIMEOUT, took the lease over and started a second server for one checkout (test/cases/192). So a silent probe of a lease whose process is still alive is waited on, and asked again; only a server that stays silent for this long, or whose process is gone, loses its lease. The bound keeps the recovery from a hung server, and it sits well inside JOIN_TIMEOUT so that the take-over still happens within one election.