You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2006/11/26 21:40:39 UTC
svn commit: r479425 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Author: mturk
Date: Sun Nov 26 12:40:39 2006
New Revision: 479425
URL: http://svn.apache.org/viewvc?view=rev&rev=479425
Log:
Instead having Balancers: and Workers: use only
Workers: with balancer and ajp workers count.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_status.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=479425&r1=479424&r2=479425
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sun Nov 26 12:40:39 2006
@@ -1910,8 +1910,7 @@
ajp_cnt++;
}
}
- if (lb_cnt)
- jk_printf(s, "Balancers: size=%d\n", lb_cnt);
+ jk_printf(s, "Workers: balancer=%d ajp=%d\n", lb_cnt, ajp_cnt);
for (i = 0; i < sw->we->num_of_workers; i++) {
w = wc_get_worker_for_name(sw->we->worker_list[i], l);
@@ -1925,8 +1924,6 @@
display_worker_txt(s, w, 0, l);
}
}
- if (ajp_cnt)
- jk_printf(s, "Workers: size=%d\n", ajp_cnt);
for (i = 0; i < sw->we->num_of_workers; i++) {
w = wc_get_worker_for_name(sw->we->worker_list[i], l);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org