Skip to main content

RESTORE_RATE_MIN_MILLIS

Constant RESTORE_RATE_MIN_MILLIS 

Source
pub const RESTORE_RATE_MIN_MILLIS: u64 = 250;
Expand description

The shortest restore worth learning a throughput from, in milliseconds.

A restore that returned in under this is a manager deciding it had nothing to do — the packages were still in its cache, or already on disk. Averaging those in would claim a rate no cold restore can reach.