diff options
author | Jim Jagielski <jim@apache.org> | 2011-09-23 15:39:32 +0200 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2011-09-23 15:39:32 +0200 |
commit | 427c85bd2353796cbd8253854dd2fb2ccfbf8bdc (patch) | |
tree | f1decb7874c49c67162ebdbf1db997a92e0b5834 /modules/proxy/balancers/mod_lbmethod_bybusyness.c | |
parent | Cleanup effort in prep for GA push: (diff) | |
download | apache2-427c85bd2353796cbd8253854dd2fb2ccfbf8bdc.tar.xz apache2-427c85bd2353796cbd8253854dd2fb2ccfbf8bdc.zip |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/balancers/mod_lbmethod_bybusyness.c')
-rw-r--r-- | modules/proxy/balancers/mod_lbmethod_bybusyness.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/proxy/balancers/mod_lbmethod_bybusyness.c b/modules/proxy/balancers/mod_lbmethod_bybusyness.c index 0ddfae1b9a..dec610ed3d 100644 --- a/modules/proxy/balancers/mod_lbmethod_bybusyness.c +++ b/modules/proxy/balancers/mod_lbmethod_bybusyness.c @@ -35,7 +35,7 @@ static proxy_worker *find_best_bybusyness(proxy_balancer *balancer, int checked_standby; int total_factor = 0; - + ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, "proxy: Entering bybusyness for BALANCER (%s)", balancer->name); @@ -76,7 +76,7 @@ static proxy_worker *find_best_bybusyness(proxy_balancer *balancer, (*worker)->s->lbstatus += (*worker)->s->lbfactor; total_factor += (*worker)->s->lbfactor; - + if (!mycandidate || (*worker)->s->busy < mycandidate->s->busy || ((*worker)->s->busy == mycandidate->s->busy && (*worker)->s->lbstatus > mycandidate->s->lbstatus)) |