Skip to main content

CLI_LOCK_DEFAULT_WAIT_SECS

Constant CLI_LOCK_DEFAULT_WAIT_SECS 

Source
pub const CLI_LOCK_DEFAULT_WAIT_SECS: u64 = 300;
Expand description

Maximum time in seconds an instance waits to acquire a concurrency slot.

Passed as the default for --max-wait-secs in the CLI. After exhausting this limit, the invocation returns crate::errors::AppError::AllSlotsFull with exit code CLI_LOCK_EXIT_CODE (75).