diff options
-rw-r--r-- | cli/src/profile.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/profile.rs b/cli/src/profile.rs index d9a8e54..953a8e3 100644 --- a/cli/src/profile.rs +++ b/cli/src/profile.rs @@ -94,7 +94,8 @@ async fn profile_serve(matches: &ArgMatches) -> Result<()> { log::info!("Serving..."); while running.load(Ordering::SeqCst) { - tokio::time::sleep(std::time::Duration::from_millis(500)).await // sleep not so busy + tokio::time::sleep(std::time::Duration::from_millis(500)).await; // sleep not so busy + profile.gossip_own_state("distrox".to_string()).await? } log::info!("Shutting down..."); profile.exit().await |