File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -498,10 +498,12 @@ pub static DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS: LazyLock<Duration> = LazyL
498498/// Note that while this serves as an upper bound, retention speed is mostly
499499/// limited by `DOCUMENT_RETENTION_BATCH_INTERVAL_SECONDS`,
500500/// `DOCUMENT_RETENTION_DELETE_CHUNK`, and `DOCUMENT_RETENTION_DELETE_PARALLEL`
501+ /// TODO(ENG-10039): Increase this after retention has caught up so we don't get
502+ /// too behind on partitions that have high write rates.
501503pub static DOCUMENT_RETENTION_RATE_LIMIT : LazyLock < NonZeroU32 > = LazyLock :: new ( || {
502504 env_config (
503505 "DOCUMENT_RETENTION_RATE_LIMIT" ,
504- NonZeroU32 :: new ( 1024 ) . unwrap ( ) ,
506+ NonZeroU32 :: new ( 100 ) . unwrap ( ) ,
505507 )
506508} ) ;
507509
You can’t perform that action at this time.
0 commit comments