server/repository.py
branchstable
changeset 5601 92cf309672ca
parent 5426 0d4853a6e5ee
child 5603 d8d9f4ec252d
--- a/server/repository.py	Sat May 29 09:52:31 2010 +0000
+++ b/server/repository.py	Sat May 29 09:54:07 2010 +0000
@@ -382,6 +382,7 @@
         results['nb_active_threads'] = threading.activeCount()
         results['looping_tasks'] = ', '.join(str(t) for t in self._looping_tasks)
         results['available_pools'] = self._available_pools.qsize()
+        results['threads'] = ', '.join(sorted(str(t) for t in threading.enumerate()))
         return results
 
     def _login_from_email(self, login):