Skip to content

Commit

Permalink
bump eta calculator log prio (#2726)
Browse files Browse the repository at this point in the history
### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
  • Loading branch information
daniel-savu authored Sep 13, 2023
1 parent 903af46 commit 35fdc74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/hyperlane-base/src/contract_sync/eta_calculator.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::time::{Duration, Instant};

use derive_new::new;
use tracing::trace;
use tracing::debug;

/// Calculates the expected time to catch up to the tip of the blockchain.
#[derive(new)]
Expand Down Expand Up @@ -66,7 +66,7 @@ impl SyncerEtaCalculator {
{
Ok(eta) => eta,
Err(e) => {
trace!(error=?e, tip=?current_tip, block=?current_block, rate=?effective_rate, "Failed to calculate the eta");
debug!(error=?e, tip=?current_tip, block=?current_block, rate=?effective_rate, "Failed to calculate the eta");
default_duration
}
}
Expand Down

0 comments on commit 35fdc74

Please sign in to comment.