Skip to content

Commit

Permalink
Update routes_with_clusters.go
Browse files Browse the repository at this point in the history
Co-authored-by: Viraj Salaka <[email protected]>
  • Loading branch information
isala404 and VirajSalaka authored Oct 29, 2024
1 parent 989b0ba commit 444d219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func processEndpoints(clusterName string, clusterDetails *model.EndpointCluster,

// If the endpoint is within the cluster, set the max requests per connection to 1
// This ensure cilium proxy will not reuse the connection
if withinClusterEndpoint && os.Getenv("ROUTER_DISABLE_INCLUSTER_CONNECTION_POOLING") == "true" {
if withinClusterEndpoint && os.Getenv("ROUTER_DISABLE_IN_CLUSTER_CONNECTION_POOLING") == "true" {
config := &upstreams.HttpProtocolOptions{
CommonHttpProtocolOptions: &corev3.HttpProtocolOptions{
MaxRequestsPerConnection: wrapperspb.UInt32(1),
Expand Down

0 comments on commit 444d219

Please sign in to comment.