Skip to main content

GIT_TIMEOUT

Constant GIT_TIMEOUT 

Source
pub const GIT_TIMEOUT: Duration;
Expand description

Wall-clock budget for one read-side git invocation. Dropping the future on expiry kills the child (kill_on_drop), so a git grep over a huge branch cannot hold a CPU for longer than this.