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 677550f commit 1074207
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 1074207

Please sign in to comment.