Skip to content

Commit

Permalink
chore: RUN-886: Increase query cache max expiry time to 5min
Browse files Browse the repository at this point in the history
  • Loading branch information
dfinity-berestovskyy committed Jan 16, 2024
1 parent 47081c4 commit fb70937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/config/src/execution_environment.rs
Expand Up @@ -101,7 +101,7 @@ const QUERY_SCHEDULING_TIME_SLICE_PER_CANISTER: Duration = Duration::from_millis
const QUERY_CACHE_CAPACITY: NumBytes = NumBytes::new(200 * MIB);

/// The upper limit on how long the cache entry stays valid in the query cache.
const QUERY_CACHE_MAX_EXPIRY_TIME: Duration = Duration::from_secs(60);
const QUERY_CACHE_MAX_EXPIRY_TIME: Duration = Duration::from_secs(300);

/// Length of an epoch of query statistics in blocks
pub const QUERY_STATS_EPOCH_LENGTH: u64 = 2000;
Expand Down

0 comments on commit fb70937

Please sign in to comment.