From a3e30d8b8b5d8b12be68ccc2b0d265a03cbb740e Mon Sep 17 00:00:00 2001 From: Nick Garfield Date: Thu, 17 Mar 2022 16:02:30 -0500 Subject: [PATCH] Publish every clocktick to telemetry --- telemetry/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemetry/src/main.rs b/telemetry/src/main.rs index ba65ed495..780559ca8 100644 --- a/telemetry/src/main.rs +++ b/telemetry/src/main.rs @@ -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; }