Skip to content

Commit

Permalink
Decrease the yield factor
Browse files Browse the repository at this point in the history
We already do much work per iteration (e.g., due to FuturesUnordered).
See also rust-lang/futures-rs#2053.
  • Loading branch information
jonhoo committed Jan 29, 2020
1 parent f592c7c commit 325c5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "tokio-tower"
version = "0.3.2"
version = "0.3.3"
edition = "2018"
authors = ["Jon Gjengset <jon@thesquareplanet.com>"]

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -38,7 +38,7 @@
//! [`pipeline::Client`]), and the server helper as `Server` in the same place.
#![deny(missing_docs)]

const YIELD_EVERY: usize = 64;
const YIELD_EVERY: usize = 24;

macro_rules! event {
($span:expr, $($rest:tt)*) => {
Expand Down

0 comments on commit 325c5d8

Please sign in to comment.