Author: clebert.suconic(a)jboss.com
Date: 2009-12-09 16:45:29 -0500 (Wed, 09 Dec 2009)
New Revision: 8657
Modified:
trunk/src/main/org/hornetq/core/journal/impl/TimedBuffer.java
Log:
Tweak on timer.. only spin when sync = true
Modified: trunk/src/main/org/hornetq/core/journal/impl/TimedBuffer.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/impl/TimedBuffer.java 2009-12-09 21:07:15 UTC
(rev 8656)
+++ trunk/src/main/org/hornetq/core/journal/impl/TimedBuffer.java 2009-12-09 21:45:29 UTC
(rev 8657)
@@ -251,9 +251,10 @@
//
// flush();
// }
+
+ timer.resumeSpin();
}
- timer.resumeSpin();
}
Show replies by date