Skip to content

Commit

Permalink
Update DEFAULT_OUTBOUND_TCP_QUEUE_CAPACITY to 10K (#2521)
Browse files Browse the repository at this point in the history
DEFAULT_OUTBOUND_TCP_QUEUE_CAPACITY was incorrectly set to 10 so that
bursts of TCP connections could see EOF errors.

This change increases the value to match the HTTP queue capacity.
  • Loading branch information
olix0r authored Nov 16, 2023
1 parent 2ad49d6 commit bf5cb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkerd/app/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const DEFAULT_INBOUND_CONNECT_TIMEOUT: Duration = Duration::from_millis(300);
const DEFAULT_INBOUND_CONNECT_BACKOFF: ExponentialBackoff =
ExponentialBackoff::new_unchecked(Duration::from_millis(100), Duration::from_millis(500), 0.1);

const DEFAULT_OUTBOUND_TCP_QUEUE_CAPACITY: usize = 10;
const DEFAULT_OUTBOUND_TCP_QUEUE_CAPACITY: usize = 10_000;
const DEFAULT_OUTBOUND_TCP_FAILFAST_TIMEOUT: Duration = Duration::from_secs(3);
const DEFAULT_OUTBOUND_HTTP_QUEUE_CAPACITY: usize = 10_000;
const DEFAULT_OUTBOUND_HTTP_FAILFAST_TIMEOUT: Duration = Duration::from_secs(3);
Expand Down

0 comments on commit bf5cb67

Please sign in to comment.