From 90d8cdef8871497a375d5e7730e2cebb273c1b5e Mon Sep 17 00:00:00 2001 From: Morgan Mccauley Date: Tue, 8 Aug 2023 14:17:15 +1200 Subject: [PATCH] feat: Decrease stats interval to 5sec --- indexer/queryapi_coordinator/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/queryapi_coordinator/src/utils.rs b/indexer/queryapi_coordinator/src/utils.rs index 601978966..a2ec8ab1a 100644 --- a/indexer/queryapi_coordinator/src/utils.rs +++ b/indexer/queryapi_coordinator/src/utils.rs @@ -1,7 +1,7 @@ use crate::metrics; pub(crate) async fn stats(redis_connection_manager: storage::ConnectionManager) { - let interval_secs = 10; + let interval_secs = 5; let mut previous_processed_blocks: u64 = storage::get::(&redis_connection_manager, "blocks_processed") .await