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.
This commit is contained in:
parent
896fe75929
commit
1678d6b33b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue