Skip to content

Commit

Permalink
Publish every clocktick to telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Garfield committed Mar 17, 2022
1 parent d828cf9 commit a3e30d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn monitor_health_telemetry() {
let time_receiver = cronos_sdk::clock::monitor_time(env::wss_endpoint().as_str().into());

for ts in time_receiver {
if ts > latest_ts + 9 {
if ts > latest_ts {
latest_ts = ts;
record_health_data(client, es_client, ts).await;
}
Expand Down

0 comments on commit a3e30d8

Please sign in to comment.