iro/controller/pool.py
branchdevel
changeset 135 f8640c663e3e
parent 132 80a334e2aae7
child 141 90c95fdd1e33
--- a/iro/controller/pool.py	Mon Feb 06 14:39:33 2012 +0100
+++ b/iro/controller/pool.py	Tue Feb 07 01:56:59 2012 +0100
@@ -16,10 +16,13 @@
         """To run a function in Twisted's thread pool"""
         return threads.deferToThreadPool(self.reactor, self.pool, f, *args, **kwargs)
 
+#task Pool for sending
 taskPool = Pool('task',5)
+
+#db Pool to handle reqests to sqlalchemy
 dbPool = Pool('database',5)
 
-
+# all pools in one list
 pools=[taskPool,dbPool]
 
 def startPool(reactor):