Skip to content

Commit

Permalink
feat: Decrease stats interval to 5sec
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Aug 8, 2023
1 parent b2ac422 commit 90d8cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/queryapi_coordinator/src/utils.rs
Original file line number Diff line number Diff line change
@@ -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::<u64>(&redis_connection_manager, "blocks_processed")
.await
Expand Down

0 comments on commit 90d8cde

Please sign in to comment.