Author: rjung
Date: Wed Jul 19 14:45:45 2006
New Revision: 423621
URL: http://svn.apache.org/viewvc?rev=423621&view=rev
Log:
Part two of: allow recovery interval below 60 seconds.
Caution: This fix for the status worker is still not complete,
since we need to be able to set the maintain time also.
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?rev=423621&r1=423620&r2=423621&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Wed Jul 19 14:45:45
2006
@@ -710,8 +710,9 @@
if (i > 0)
lb->s->retries = i;
i = status_int("lt", s->query_string, lb->s->recover_wait_time);
- if (i > 59)
- lb->s->recover_wait_time = i;
+ if (i < 1)
+ i = 1;
+ lb->s->recover_wait_time = i;
lb->s->sticky_session = status_bool("ls", s->query_string);
lb->s->sticky_session_force = status_bool("lf", s->query_string);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]