mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652303 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b35bc797ec
commit
7a238556e3
|
@ -265,8 +265,8 @@ public class InactivityMonitor extends TransportFilter {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue