Skip to main content

INIT_HANDSHAKE_TIMEOUT

Constant INIT_HANDSHAKE_TIMEOUT 

Source
pub const INIT_HANDSHAKE_TIMEOUT: Duration;
Expand description

Budget for the initialize handshake inside Client::spawn. A wedged CLI (alive, stdout open, never answering) would otherwise park the caller forever with the child leaked.

Published because a caller that waits on a spawn is waiting on this budget: a wait shorter than it fails a machine that is merely slow, so a test derives its own wait from this number rather than hand-picking one under it.