We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c13390 commit 99a14bcCopy full SHA for 99a14bc
crates/common/src/knobs.rs
@@ -474,7 +474,10 @@ pub static RETENTION_FAIL_ALL_MULTIPLIER: LazyLock<usize> =
474
/// also used to jitter document retention on startup to avoid a thundering
475
/// herd.
476
pub static DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS: LazyLock<Duration> = LazyLock::new(|| {
477
- Duration::from_secs(env_config("DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS", 60))
+ Duration::from_secs_f64(env_config(
478
+ "DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS",
479
+ 60.0,
480
+ ))
481
});
482
483
/// Maximum scanned documents within a single run for document retention unless
0 commit comments