Skip to main content

TEARDOWN_WAIT

Constant TEARDOWN_WAIT 

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

How long the despawn holds its worktree removal for the session task’s teardown signal before giving up and removing anyway: the SDK’s close-wait budget (the child’s reap) plus a margin for the task to observe its closed channel, disconnect and drop. An expiry is logged - it is the one shape where the removal goes ahead unprotected.