Skip to content

Commit 4229477

Browse files
committed
circuit_breakers thresholds
1 parent 7f97e63 commit 4229477

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

charts/synapse/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
name: synapse
3-
version: 0.1.0
3+
version: 0.1.1

charts/synapse/scripts/envoy.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static_resources:
8484
headers:add("X-Hash-Key", synapse.get_hash_key_from_request(headers))
8585
return
8686
end
87-
87+
8888
headers:add("X-Hash-Key", headers:get("x-request-id"))
8989
end
9090
- name: envoy.filters.http.router
@@ -96,6 +96,16 @@ static_resources:
9696
type: STRICT_DNS
9797
dns_lookup_family: V4_ONLY
9898
lb_policy: RING_HASH
99+
circuit_breakers:
100+
thresholds:
101+
- priority: DEFAULT
102+
max_connections: 30000
103+
max_requests: 8192
104+
max_retries: 3
105+
- priority: HIGH
106+
max_connections: 30000
107+
max_requests: 8192
108+
max_retries: 3
99109
load_assignment:
100110
cluster_name: httpd
101111
endpoints:

0 commit comments

Comments
 (0)