mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 11:43:43 +00:00
fixup don't hang
This commit is contained in:
parent
9e34cd7393
commit
2c9801b9f1
@ -473,7 +473,8 @@ impl Overlord {
|
||||
"process_incoming_events" => {
|
||||
let _ = tokio::spawn(async move {
|
||||
for (event, url) in GLOBALS.incoming_events.write().await.drain(..) {
|
||||
let _ = crate::process::process_new_event(&event, true, Some(url)).await;
|
||||
let _ =
|
||||
crate::process::process_new_event(&event, true, Some(url)).await;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user