Skip to content

Commit 6d3df7f

Browse files
authored
global store: move stale update message to debug! log level (#74)
1 parent fab07b4 commit 6d3df7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/agent/store/global.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ 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-
info!(self.logger, "Global store: denied stale update of an existing newer price";
239+
// This message is not an error. It is common
240+
// for primary and secondary network to have
241+
// slight difference in their timestamps.
242+
debug!(self.logger, "Global store: ignoring stale update of an existing newer price";
240243
"price_key" => account_key.to_string(),
241244
"existing_timestamp" => existing_price.timestamp,
242245
"new_timestamp" => account.timestamp,

0 commit comments

Comments
 (0)