[rhmessaging-commits] rhmessaging commits: r2366 - mgmt/trunk/mint/python/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri Aug 29 10:35:41 EDT 2008


Author: justi9
Date: 2008-08-29 10:35:41 -0400 (Fri, 29 Aug 2008)
New Revision: 2366

Modified:
   mgmt/trunk/mint/python/mint/update.py
Log:
If the queue has an interesting depth, note it

Modified: mgmt/trunk/mint/python/mint/update.py
===================================================================
--- mgmt/trunk/mint/python/mint/update.py	2008-08-28 20:08:58 UTC (rev 2365)
+++ mgmt/trunk/mint/python/mint/update.py	2008-08-29 14:35:41 UTC (rev 2366)
@@ -27,6 +27,11 @@
 
   def run(self):
     while True:
+      size = self.updates.qsize()
+
+      if size > 1:
+        log.debug("Queue depth is %i", self.updates.qsize()) 
+
       try:
         update = self.updates.get(True, 1)
       except Empty:




More information about the rhmessaging-commits mailing list