Skip to content

Commit fb70937

Browse files
committed
chore: RUN-886: Increase query cache max expiry time to 5min
1 parent 47081c4 commit fb70937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rs/config/src/execution_environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const QUERY_SCHEDULING_TIME_SLICE_PER_CANISTER: Duration = Duration::from_millis
101101
const QUERY_CACHE_CAPACITY: NumBytes = NumBytes::new(200 * MIB);
102102

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

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

0 commit comments

Comments
 (0)