Skip to content

Commit 23d3042

Browse files
jordanhunt22Convex, Inc.
authored and
Convex, Inc.
committed
[Doc Retention] Increase rate to 400 (#27423)
GitOrigin-RevId: a7a709c3f289e7b8bdac3d1521a135a3f4fe7f3d
1 parent 318d82b commit 23d3042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/knobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ pub static DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS: LazyLock<Duration> = LazyL
423423
/// there are a bunch of writes at single timestamp. Then, we go until there are
424424
/// no more writes at that timestamp.
425425
pub static DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS: LazyLock<usize> =
426-
LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 250));
426+
LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 400));
427427

428428
/// Size at which a search index will be queued for snapshotting.
429429
pub static SEARCH_INDEX_SIZE_SOFT_LIMIT: LazyLock<usize> =

0 commit comments

Comments
 (0)