How long stop() waits for the running pass (#502): 30 seconds. The stop
flags already keep that pass from reserving or committing anything new, so
the wait only protects a dispatch that is already past its intent commit —
its push and its launch, so that the drain sees the job. An intent commit is
local plumbing, milliseconds; its push is one small ref update, a few
seconds even on a slow link and rarely more than twenty. Thirty covers that
with room, and holds a supersede — which drains before it exits 75 — for
half a minute at most on a pass that never returns (a git call stuck on a
lock, a remote that does not answer), not for ever. The drain after it keeps
its own bounds: a launched role is still killed at its role timeout, and a
second ^C still aborts.
How long
stop()waits for the running pass (#502): 30 seconds. The stop flags already keep that pass from reserving or committing anything new, so the wait only protects a dispatch that is already past its intent commit — its push and its launch, so that the drain sees the job. An intent commit is local plumbing, milliseconds; its push is one small ref update, a few seconds even on a slow link and rarely more than twenty. Thirty covers that with room, and holds a supersede — which drains before it exits 75 — for half a minute at most on a pass that never returns (a git call stuck on a lock, a remote that does not answer), not for ever. The drain after it keeps its own bounds: a launched role is still killed at its role timeout, and a second ^C still aborts.