Skip to main content

COMMAND_TIMEOUT

Constant COMMAND_TIMEOUT 

Source
const COMMAND_TIMEOUT: Duration;
Expand description

Per-subprocess timeout. A scan’s worst case is one budget per child, and a repository with no remote and no local default branch issues ten of them (SCAN_CHILDREN). In practice every command returns in <100 ms on a local repo, and timeouts only fire on hung network mounts or genuinely huge repositories.