no need for this yield. recv is cooperative
This commit is contained in:
parent
0b3dfd095e
commit
44e8cce9c8
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1285,7 +1285,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deduped_broadcast"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
dependencies = [
|
||||
"lru",
|
||||
"serde",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "deduped_broadcast"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
@ -59,8 +59,6 @@ where
|
||||
self.total_broadcasts.fetch_add(x, Ordering::Relaxed);
|
||||
}
|
||||
});
|
||||
|
||||
yield_now().await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user