Skip to main content

Module process_retry

Module process_retry 

Source
Expand description

Bounded retry for a process image temporarily busy during replacement.

Constants§

EXECUTABLE_BUSY_BACKOFF_MS
Three short delays permit four total spawn attempts.

Functions§

spawn_retrying_executable_busy
Blocking counterpart for synchronous subprocess call sites.
spawn_retrying_executable_busy_async
Retry only before a child exists; a successful command is never repeated. Every other error, including the final busy error, is returned unchanged.