[rhmessaging-commits] rhmessaging commits: r1763 - store/trunk/cpp/lib/jrnl.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Mar 6 11:26:43 EST 2008


Author: kpvdr
Date: 2008-03-06 11:26:43 -0500 (Thu, 06 Mar 2008)
New Revision: 1763

Modified:
   store/trunk/cpp/lib/jrnl/wrfc.cpp
Log:
Additional bugfix in journal enqueue threshold claculations

Modified: store/trunk/cpp/lib/jrnl/wrfc.cpp
===================================================================
--- store/trunk/cpp/lib/jrnl/wrfc.cpp	2008-03-06 15:17:49 UTC (rev 1762)
+++ store/trunk/cpp/lib/jrnl/wrfc.cpp	2008-03-06 16:26:43 UTC (rev 1763)
@@ -148,7 +148,7 @@
         in_use |= fhp->enqcnt() > 0;
     }
     // Return true if threshold exceeded
-    return findex != _fh_index && fhp->enqcnt() > 0;
+    return findex != _fh_index && in_use;
 }
 
 const std::string




More information about the rhmessaging-commits mailing list