From 1a6c04a108dfcede72b710b8b1f2426c17168e06 Mon Sep 17 00:00:00 2001 From: Ivan Frolov Date: Mon, 10 Jun 2024 13:29:13 -0400 Subject: [PATCH] chore: set `OPTIMISTIC_UPDATING` to not working --- rpc-server/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc-server/src/main.rs b/rpc-server/src/main.rs index ce6293cf..ac1c8c30 100644 --- a/rpc-server/src/main.rs +++ b/rpc-server/src/main.rs @@ -49,6 +49,7 @@ async fn main() -> anyhow::Result<()> { .get_connection_manager() .await .map_err(|err| { + crate::metrics::OPTIMISTIC_UPDATING.set_not_working(); tracing::warn!("Failed to connect to Redis: {:?}", err); }) .ok();