loop heartbeat

This commit is contained in:
Evan Feenstra
2023-06-27 11:54:49 -07:00
parent 64b8474538
commit 1fb980817a

View File

@@ -170,7 +170,7 @@ fn make_and_launch_client(
log::info!("{:?}", config);
// heartbeat loop
thread::spawn(move || {
thread::spawn(move || loop {
thread::sleep(Duration::from_secs(60));
let _ = tx.send(Event::HeartBeat);
});