Author: jfrederic.clere(a)jboss.com
Date: 2008-09-29 06:13:46 -0400 (Mon, 29 Sep 2008)
New Revision: 1915
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Add missing increment of the elected.
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-09-29 08:41:56 UTC
(rev 1914)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-09-29 10:13:46 UTC
(rev 1915)
@@ -836,6 +836,7 @@
if (mycandidate) {
mycandidate->s->lbstatus -= total_factor;
+ mycandidate->s->elected++;
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"proxy: byrequests balancer DONE (%s)",
mycandidate->name);
} else {
Show replies by date