Skip to content

Commit 4ab94d4

Browse files
authored
Change stale update log level to info (#72)
1 parent b9f1cd2 commit 4ab94d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-agent"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
edition = "2021"
55

66
[[bin]]

src/agent/store/global.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl Store {
236236
// Sanity-check that we are updating with more recent data
237237
if let Some(existing_price) = self.account_data.price_accounts.get(account_key) {
238238
if existing_price.timestamp > account.timestamp {
239-
warn!(self.logger, "Global store: denied stale update of an existing newer price";
239+
info!(self.logger, "Global store: denied stale update of an existing newer price";
240240
"price_key" => account_key.to_string(),
241241
"existing_timestamp" => existing_price.timestamp,
242242
"new_timestamp" => account.timestamp,

0 commit comments

Comments
 (0)