Explorar el Código

TaskPool now supports initargs

Ask Solem hace 15 años
padre
commit
c1ec691a32
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      celery/concurrency/processes/__init__.py

+ 1 - 0
celery/concurrency/processes/__init__.py

@@ -47,6 +47,7 @@ class TaskPool(object):
         self.timeout = timeout
         self.soft_timeout = soft_timeout
         self.putlocks = putlocks
+        self.initargs = None
         self._pool = None
 
     def start(self):