File tree 1 file changed +6
-0
lines changed
images/router/haproxy/conf
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,9 @@ backend be_tcp_{{$cfgIdx}}
262
262
{{ else }}
263
263
balance {{ env "ROUTER_TCP_BALANCE_SCHEME" "source" }}
264
264
{{ end }}
265
+ {{with $value := index $cfg.Annotations "router.openshift.io/haproxy.timeout"}}
266
+ timeout server {{$value}}
267
+ {{end}}
265
268
hash-type consistent
266
269
timeout check 5000ms
267
270
{{ range $serviceUnitName, $weight := $cfg.ServiceUnitNames }}
@@ -285,6 +288,9 @@ backend be_secure_{{$cfgIdx}}
285
288
{{ else }}
286
289
balance leastconn
287
290
{{ end }}
291
+ {{with $value := index $cfg.Annotations "router.openshift.io/haproxy.timeout"}}
292
+ timeout server {{$value}}
293
+ {{end}}
288
294
timeout check 5000ms
289
295
cookie {{$cfg.RoutingKeyName}} insert indirect nocache httponly secure
290
296
{{ range $serviceUnitName, $weight := $cfg.ServiceUnitNames }}
You can’t perform that action at this time.
0 commit comments