Skip to main content

DEFAULT_USAGE_POLL_SECONDS

Constant DEFAULT_USAGE_POLL_SECONDS 

Source
pub const DEFAULT_USAGE_POLL_SECONDS: u64 = 60;
Expand description

The interval the background usage poller refreshes on when the [usage] poll_seconds key is absent, in seconds. 60 s stays clear of the OAuth usage endpoint’s 429 throttle under multi-instance polling while bounding how stale the account-usage cache can be.