introduce ngx.var.balancer_ewma_score
This commit is contained in:
parent
a653e329aa
commit
27df697dde
2 changed files with 6 additions and 3 deletions
|
|
@ -1090,6 +1090,7 @@ stream {
|
|||
|
||||
port_in_redirect {{ if $location.UsePortInRedirects }}on{{ else }}off{{ end }};
|
||||
|
||||
set $balancer_ewma_score -1;
|
||||
set $proxy_upstream_name "{{ buildUpstreamName $location }}";
|
||||
set $proxy_host $proxy_upstream_name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue