From 49445632fb3a86b60b658c6c636a4f7f0e1bb050 Mon Sep 17 00:00:00 2001 From: Jordan Hunt <65152573+jordanhunt22@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:26:39 -0700 Subject: [PATCH] [Document Retention] Increase to 3000 documents scanned per run (#29001) Increase max scanned documents from 1500 -> 3000. GitOrigin-RevId: 585e83b669498158f431aeaedd675889cb3befc9 --- crates/common/src/knobs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/common/src/knobs.rs b/crates/common/src/knobs.rs index 43936fb7..eb200920 100644 --- a/crates/common/src/knobs.rs +++ b/crates/common/src/knobs.rs @@ -449,7 +449,7 @@ pub static DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS: LazyLock = LazyL /// there are a bunch of writes at single timestamp. Then, we go until there are /// no more writes at that timestamp. pub static DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS: LazyLock = - LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 1500)); + LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 3000)); /// Size at which a search index will be queued for snapshotting. pub static SEARCH_INDEX_SIZE_SOFT_LIMIT: LazyLock =