Skip to content

Commit

Permalink
[Doc Retention] Scan 10000 documents per run (#30487)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1f0ab508466b33901d1da14311503b3a758fa334
  • Loading branch information
jordanhunt22 authored and Convex, Inc. committed Oct 8, 2024
1 parent 183bda1 commit 0195909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/knobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ pub static DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS: LazyLock<Duration> = 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<usize> =
LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 5000));
LazyLock::new(|| env_config("DOCUMENT_RETENTION_MAX_SCANNED_DOCUMENTS", 10000));

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

0 comments on commit 0195909

Please sign in to comment.