From 185ce7a3b4872e67cefd859484a5389be1959658 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 21 Jul 2023 16:39:27 -0700 Subject: [PATCH] flush tsdb every 10 --- web3_proxy/src/app/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/app/mod.rs b/web3_proxy/src/app/mod.rs index 4363278a..4b8445fd 100644 --- a/web3_proxy/src/app/mod.rs +++ b/web3_proxy/src/app/mod.rs @@ -335,7 +335,7 @@ impl Web3ProxyApp { rpc_secret_key_cache.clone(), user_balance_cache.clone(), stat_buffer_shutdown_receiver, - 1, + 10, flush_stat_buffer_sender.clone(), flush_stat_buffer_receiver, )? {