From f49a64e5516c98dec944bd797baaf5f5ce7158cf Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 7 Jul 2023 12:27:20 -0700 Subject: [PATCH] raise warning to error --- web3_proxy/src/stats/stat_buffer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web3_proxy/src/stats/stat_buffer.rs b/web3_proxy/src/stats/stat_buffer.rs index cd3314d3..965b3650 100644 --- a/web3_proxy/src/stats/stat_buffer.rs +++ b/web3_proxy/src/stats/stat_buffer.rs @@ -11,7 +11,7 @@ use migration::sea_orm::DatabaseConnection; use std::time::Duration; use tokio::sync::{broadcast, oneshot}; use tokio::time::{interval, sleep}; -use tracing::{error, info, trace, warn}; +use tracing::{error, info, trace}; #[derive(Debug, Default)] pub struct BufferedRpcQueryStats { @@ -175,11 +175,11 @@ impl StatBuffer { } if let Err(err) = x.send((tsdb_count, relational_count)) { - warn!(%tsdb_count, %relational_count, ?err, "unable to notify about flushed stats"); + error!(%tsdb_count, %relational_count, ?err, "unable to notify about flushed stats"); } } Err(err) => { - warn!(?err, "unable to flush stat buffer!"); + error!(?err, "unable to flush stat buffer!"); } } }