Skip to main content

DEFAULT_PIP_TIMEOUT_SECS

Constant DEFAULT_PIP_TIMEOUT_SECS 

Source
pub const DEFAULT_PIP_TIMEOUT_SECS: u64 = 600;
Expand description

Default wall-clock bound on one pip install invocation, in seconds.

Ten minutes: long enough for a cold install of a heavy dependency tree over a slow link (torch-sized wheels routinely take minutes), short enough that a wedged pip does not hold startup open forever. initialize() is awaited sequentially, so this is the per-plugin worst case added to boot.