diff --git a/coordinator/src/main.rs b/coordinator/src/main.rs index 690fb342..4de23ae0 100644 --- a/coordinator/src/main.rs +++ b/coordinator/src/main.rs @@ -836,8 +836,8 @@ async fn handle_cosigns_and_batch_publication( ) { let mut tributaries = HashMap::new(); 'outer: loop { - // TODO: Create a better async flow for this, as this does still hammer this task - tokio::task::yield_now().await; + // TODO: Create a better async flow for this + tokio::time::sleep(core::time::Duration::from_millis(100)).await; match tributary_event.try_recv() { Ok(event) => match event {