From 1678d6b33b634199161512ed9ef97ed153375bef Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 4 Jun 2018 14:34:34 -0700 Subject: [PATCH] proxy: Change `DEFAULT_OUTBOUND_ROUTER_CAPACITY` from 10,000 to 100 (#1060) The proxy can't actually support 10K clients currently (for one, we can't open 10K resolution streams to the destination service). 100 is a more-realistic but sufficiently-high default. --- proxy/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/config.rs b/proxy/src/config.rs index bbf0b1e49..060b2b6f4 100644 --- a/proxy/src/config.rs +++ b/proxy/src/config.rs @@ -201,7 +201,7 @@ const DEFAULT_RESOLV_CONF: &str = "/etc/resolv.conf"; /// It's assumed that a typical proxy can serve inbound traffic for up to 100 pod-local /// HTTP services and may communicate with up to 10K external HTTP domains. const DEFAULT_INBOUND_ROUTER_CAPACITY: usize = 100; -const DEFAULT_OUTBOUND_ROUTER_CAPACITY: usize = 10_000; +const DEFAULT_OUTBOUND_ROUTER_CAPACITY: usize = 100; const DEFAULT_INBOUND_ROUTER_MAX_IDLE_AGE: Duration = Duration::from_secs(60); const DEFAULT_OUTBOUND_ROUTER_MAX_IDLE_AGE: Duration = Duration::from_secs(60);