From 2c193ad8b551b4c83d290b8b4848db61bec3df82 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Mon, 19 Jun 2023 19:09:32 +0200 Subject: [PATCH] Change stale update log level to info --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/agent/store/global.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d1e9df6..c860099f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2699,7 +2699,7 @@ dependencies = [ [[package]] name = "pyth-agent" -version = "1.3.0" +version = "1.3.1" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index fb5abc88..c47318be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth-agent" -version = "1.3.0" +version = "1.3.1" edition = "2021" [[bin]] diff --git a/src/agent/store/global.rs b/src/agent/store/global.rs index 8f5b63cd..aad2a982 100644 --- a/src/agent/store/global.rs +++ b/src/agent/store/global.rs @@ -236,7 +236,7 @@ impl Store { // Sanity-check that we are updating with more recent data if let Some(existing_price) = self.account_data.price_accounts.get(account_key) { if existing_price.timestamp > account.timestamp { - warn!(self.logger, "Global store: denied stale update of an existing newer price"; + info!(self.logger, "Global store: denied stale update of an existing newer price"; "price_key" => account_key.to_string(), "existing_timestamp" => existing_price.timestamp, "new_timestamp" => account.timestamp,