You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server {{$endpoint.ID}} {{$endpoint.IP}}:{{$endpoint.Port}} cookie {{$endpoint.IdHash}} weight {{$weight}}
@@ -514,7 +514,7 @@ backend be_tcp:{{$cfgIdx}}
514
514
hash-type consistent
515
515
timeout check 5000ms
516
516
{{- range $serviceUnitName, $weight := $cfg.ServiceUnitNames }}
517
-
{{- if ne $weight 0 }}
517
+
{{- if ne $weight 0 }}}{{/* drop connections where weight=0 as we can't use cookies, leaving only r-r and src-ip as dispatch methods and weight make no sense there */}}
518
518
{{- with $serviceUnit := index $.ServiceUnits $serviceUnitName }}
0 commit comments