REFRESH_EVERY_MS

Constant REFRESH_EVERY_MS 

Source
pub const REFRESH_EVERY_MS: i64 = _; // 300_000i64
Expand description

How long a fetched key set is used before it is fetched again.

Five minutes. Short enough that a rotated key is picked up without anybody doing anything, long enough that a Beck process is not a load generator against its own identity provider — and the interesting case is not this one anyway: a token signed by a key the set does not carry triggers a refetch by itself, so this interval only decides how quickly a retired key stops being accepted.