]> git.kaiwu.me - nginx.git/commit
Upstream: get rid of questionable micro-optimization in ip_hash.
authorRuslan Ermilov <ru@nginx.com>
Thu, 16 Apr 2015 17:09:11 +0000 (20:09 +0300)
committerRuslan Ermilov <ru@nginx.com>
Thu, 16 Apr 2015 17:09:11 +0000 (20:09 +0300)
commit7c44e3922017de131e419d58b4346cd70e667ce8
treeccb4af8fbf0ec341139819437e6a76c62c48ef9d
parentd72fe76bb19e4138f257f473988c45a7b022d599
Upstream: get rid of questionable micro-optimization in ip_hash.

If a peer was initially skipped due to max_fails, there's no reason
not to try it again if enough time has passed, and the next_upstream
logic is in action.

This also reduces diffs with NGINX Plus.
src/http/modules/ngx_http_upstream_ip_hash_module.c