[hornetq-commits] JBoss hornetq SVN: r8657 - trunk/src/main/org/hornetq/core/journal/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Dec 9 16:45:29 EST 2009


Author: clebert.suconic at 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();
    }
 
    



More information about the hornetq-commits mailing list