pub async fn refresh_once<F, Fut>(
cache: &RwLock<GitCache>,
folders: Vec<(String, String)>,
now_ms: u64,
timeout: Duration,
probe: F,
)Expand description
One refresh pass: probe each due (block, folder) in folders, every
distinct folder once and at most MAX_CONCURRENT_PROBES at a time,
each abandoned after timeout, and store the results stamped now_ms.