tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r609756 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
Date Mon, 07 Jan 2008 19:36:54 GMT
Author: rjung
Date: Mon Jan  7 11:36:53 2008
New Revision: 609756

URL: http://svn.apache.org/viewvc?rev=609756&view=rev
Log:
We already sync (jk_lb_pull) "retries" from shm to
the lb worker before, so no need to use the shm here.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=609756&r1=609755&r2=609756&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Mon Jan  7 11:36:53 2008
@@ -971,7 +971,7 @@
             if (p->worker->lblock == JK_LB_LOCK_PESSIMISTIC)
                 jk_shm_unlock();
                        
-            while ((!(r=rec->w->get_endpoint(rec->w, &end, l)) || !end) &&
(retry < p->worker->s->retries)) {
+            while ((!(r=rec->w->get_endpoint(rec->w, &end, l)) || !end) &&
(retry < p->worker->retries)) {
                 retry++;
                 retry_wait *=2;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message