no need for this yield. recv is cooperative

This commit is contained in:
Bryan Stitt 2023-09-20 12:34:51 -07:00
parent 0b3dfd095e
commit 44e8cce9c8
3 changed files with 2 additions and 4 deletions

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;
}
}
}