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 2008/04/16 14:46:10 UTC

svn commit: r648686 - /tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c

Author: mturk
Date: Wed Apr 16 05:45:57 2008
New Revision: 648686

URL: http://svn.apache.org/viewvc?rev=648686&view=rev
Log:
TAB police and small copy/paste mistake

Modified:
    tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?rev=648686&r1=648685&r2=648686&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Wed Apr 16 05:45:57 2008
@@ -2305,8 +2305,8 @@
             private_data.r = r;
 
             /* Maintain will be done by watchdog thread */
-			if (!jk_watchdog_interval)
-            	wc_maintain(xconf->log);
+            if (!jk_watchdog_interval)
+                wc_maintain(xconf->log);
             jk_init_ws_service(&s);
             s.ws_private = &private_data;
             s.pool = &private_data.p;
@@ -2768,7 +2768,7 @@
         jk_log(conf->log, JK_LOG_DEBUG,
                "Watchdog initialized");
     for (;;) {
-        apr_sleep(apr_time_from_sec(60));
+        apr_sleep(apr_time_from_sec(jk_watchdog_interval));
         if (JK_IS_DEBUG_LEVEL(conf->log))
            jk_log(conf->log, JK_LOG_DEBUG,
                   "Watchdog running");



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