Skip to content

Commit

Permalink
[Document Retention] Increase to 3000 documents scanned per run (#29001)
Browse files Browse the repository at this point in the history
Increase max scanned documents from 1500 -> 3000.

GitOrigin-RevId: 585e83b669498158f431aeaedd675889cb3befc9
  • Loading branch information
jordanhunt22 authored and Convex, Inc. committed Aug 20, 2024
1 parent 19a227c commit 4944563
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 @@ -449,7 +449,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", 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<usize> =
Expand Down

0 comments on commit 4944563

Please sign in to comment.