Skip to main content

DEFAULT_FS_RESCAN_INTERVAL_SEC

Constant DEFAULT_FS_RESCAN_INTERVAL_SEC 

Source
pub const DEFAULT_FS_RESCAN_INTERVAL_SEC: u64 = 60;
Expand description

Default interval between origin-held-index rescans in seconds (#1130). A minute balances “drop a file, it’s fetchable soon” against directory-walk cost; operators indexing a large fs origin can raise it, and 0 disables the periodic rescan (startup + reload still run one).