Skip to main content

STALE_TEMP_AGE

Constant STALE_TEMP_AGE 

Source
pub const STALE_TEMP_AGE: Duration;
Expand description

How old a leftover temp file must be before sweep_stale_temps removes it. A write holds its temp file for milliseconds (a write, an fsync, a rename), so a file this old belongs to a write that was cut short, never to one in flight in another process sharing the folder.