From 32e3bdca0c9103fe354f8b1ab159e83f2e8ffeb7 Mon Sep 17 00:00:00 2001 From: Zekun Li Date: Mon, 25 Nov 2024 14:14:52 -0800 Subject: [PATCH] reduce batch expiration --- config/src/config/quorum_store_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/config/quorum_store_config.rs b/config/src/config/quorum_store_config.rs index f245e02f40b7d..5b7a5e51ffdf9 100644 --- a/config/src/config/quorum_store_config.rs +++ b/config/src/config/quorum_store_config.rs @@ -126,7 +126,7 @@ impl Default for QuorumStoreConfig { batch_request_retry_limit: 10, batch_request_retry_interval_ms: 1000, batch_request_rpc_timeout_ms: 5000, - batch_expiry_gap_when_init_usecs: Duration::from_secs(60).as_micros() as u64, + batch_expiry_gap_when_init_usecs: Duration::from_secs(5).as_micros() as u64, remote_batch_expiry_gap_when_init_usecs: Duration::from_millis(500).as_micros() as u64, memory_quota: 120_000_000, db_quota: 300_000_000,