Skip to main content

DRAIN_MAX_WAIT

Constant DRAIN_MAX_WAIT 

Source
pub(crate) const DRAIN_MAX_WAIT: Duration;
Expand description

Upper bound for the time a drain waits for output after the process exited in total. A grandchild which keeps writing just often enough for DRAIN_TIMEOUT would keep it going for minutes otherwise. Only the waiting counts, not the forwarding, so a slow client still gets the output which was there already.