Skip to main content

BASE_RUNS

Static BASE_RUNS 

Source
static BASE_RUNS: OnceLock<Mutex<HashMap<(PathBuf, String), Weak<BaseRun>>>>
Expand description

One base refresh in flight per repository and base branch, shared by every kick that arrives while it runs: two checkouts of one repository fetch the same ref once. Weak, so a repository nobody is refreshing for leaves nothing behind; dead entries are pruned on the next look.