Skip to content

Commit

Permalink
Use seconds precision
Browse files Browse the repository at this point in the history
  • Loading branch information
ameten committed Jan 16, 2025
1 parent 0a4e2fe commit af8153e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/main/hyperlane-base/src/contract_sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
liveness_metric.set(
UNIX_EPOCH
.elapsed()
.map(|d| d.as_millis() as i64)
.map(|d| d.as_secs() as i64)
.unwrap_or(0),
);
}
Expand Down

0 comments on commit af8153e

Please sign in to comment.