pub const FETCH_TIMEOUT_GRACE: Duration;Expand description
Grace period for a network operation that times out or is cancelled: on Unix
processkit sends its graceful terminate signal and waits this long before
hard-killing. On Windows
the grace window is useful only when a child has a soft trigger: the shared
apply_fetch_completion_policy opts console children into CTRL_BREAK, and
processkit also tries WM_CLOSE for windowed children. A child without a
shared console, including one started with create_no_window or
DETACHED_PROCESS, skips the soft trigger and falls back to the atomic job
kill. The cancellation outcome is still ErrorReason::Cancelled. The policy
only takes effect when the relevant timeout or default_cancel_on token is set;
a network operation with neither is unaffected.