refactor: slightly increase querier namespace cache TTLs (#5635)
This should lower catalog load and eliminate a few costly cache misses. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
1353a429d7
commit
2332e5de10
|
@ -29,10 +29,10 @@ use trace::span::Span;
|
|||
use super::ram::RamSize;
|
||||
|
||||
/// Duration to keep existing namespaces.
|
||||
pub const TTL_EXISTING: Duration = Duration::from_secs(60);
|
||||
pub const TTL_EXISTING: Duration = Duration::from_secs(120);
|
||||
|
||||
// When to refresh an existing namespace.
|
||||
pub const REFRESH_EXISTING: Duration = Duration::from_secs(10);
|
||||
pub const REFRESH_EXISTING: Duration = Duration::from_secs(30);
|
||||
|
||||
/// Duration to keep non-existing namespaces.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue