From 2e1af595ddf6264ccc3cddd3639b443fa77d15e6 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 10 Apr 2017 19:27:28 -0400 Subject: [PATCH] More messages in flight please Waiting on https://github.com/tokio-rs/tokio-proto/pull/112 --- src/streaming/multiplex/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streaming/multiplex/server.rs b/src/streaming/multiplex/server.rs index 9e7d0762..a3a3ceee 100644 --- a/src/streaming/multiplex/server.rs +++ b/src/streaming/multiplex/server.rs @@ -110,7 +110,7 @@ enum InFlight { } /// The total number of requests that can be in flight at once. -const MAX_IN_FLIGHT_REQUESTS: usize = 32; +const MAX_IN_FLIGHT_REQUESTS: usize = 4096; impl super::advanced::Dispatch for Dispatch where P: ServerProto,