]> git.kaiwu.me - nginx.git/commit
Upstream hash: reordered peer checks.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 5 Oct 2017 14:43:05 +0000 (17:43 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 5 Oct 2017 14:43:05 +0000 (17:43 +0300)
commit53d655f89407af017cd193fd4d8d82118c9c2c80
tree7f43476c306c54883787d1e8994e85797ce2b51d
parenta10ec2db91b448029968025d23155e9c383f522d
Upstream hash: reordered peer checks.

This slightly reduces cost of selecting a peer if all or almost all peers
failed, see ticket #1030.  There should be no measureable difference with
other workloads.
src/http/modules/ngx_http_upstream_hash_module.c
src/stream/ngx_stream_upstream_hash_module.c