Skip to main content

READY_TIMEOUT

Constant READY_TIMEOUT 

Source
pub const READY_TIMEOUT: Duration;
Expand description

How long to keep asking before giving up.

Windows gets longer. Starting the daemon there has to bind a named pipe and detach into a job object, and under a supervisor opening many sessions at once those serialise: the 5s that is generous on Unix was regularly missed, leaving sessions runtime-missing and the control pipe reporting “All pipe instances are busy” (os error 231). The cost of the longer window is paid only by a start that would otherwise have failed - the poll returns as soon as the daemon answers, and a healthy one answers in ~20ms on either platform.