Skip to main content

DEFAULT_TTL

Constant DEFAULT_TTL 

Source
pub const DEFAULT_TTL: Duration;
Expand description

How long a snapshot is served before it is refreshed.

Short enough that a settings change from the GUI or CLI shows up quickly enough to feel immediate, long enough that a burst of requests collapses to a single query.