activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r652303 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
Date Wed, 30 Apr 2008 06:49:55 GMT
Author: rajdavies
Date: Tue Apr 29 23:49:55 2008
New Revision: 652303

URL: http://svn.apache.org/viewvc?rev=652303&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1698

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java?rev=652303&r1=652302&r2=652303&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
Tue Apr 29 23:49:55 2008
@@ -265,8 +265,8 @@
             writeCheckTime = readCheckTime/3;
             synchronized( InactivityMonitor.class ) {
             	if( CHECKER_COUNTER == 0 ) {
-            	    READ_CHECK_TIMER = new Timer("InactivityMonitor ReadCheck");
-            	    WRITE_CHECK_TIMER = new Timer("InactivityMonitor WriteCheck");
+            	    READ_CHECK_TIMER = new Timer("InactivityMonitor ReadCheck",true);
+            	    WRITE_CHECK_TIMER = new Timer("InactivityMonitor WriteCheck",true);
             	}
             	CHECKER_COUNTER++;
                 WRITE_CHECK_TIMER.scheduleAtFixedRate(writeCheckerTask, initialDelayTime,writeCheckTime);



Mime
View raw message