Skip to main content

DEFAULT_SWEEP_INTERVAL

Constant DEFAULT_SWEEP_INTERVAL 

Source
pub const DEFAULT_SWEEP_INTERVAL: Duration;
Expand description

How often the sweep runs, absent configuration.

An hour. DEFAULT_UNFINISHED_AGE is days rather than minutes, so the interval is what bounds how long a stranded row stays past that window — an hour of it is well inside the noise of a window measured in days, and cheap enough to run on a server that is otherwise idle.