Browse Source

Typo caused eventlet/gevent to be patched late, causing hangs

Ask Solem 13 years ago
parent
commit
6957d98453
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/bin/celeryd.py

+ 2 - 2
celery/bin/celeryd.py

@@ -96,8 +96,8 @@ class WorkerCommand(Command):
         # Pools like eventlet/gevent needs to patch libs as early
         # as possible.
         from celery import concurrency
-        kwargs["pool"] = concurrency.get_implementation(
-                    kwargs.get("pool") or self.app.conf.CELERYD_POOL)
+        kwargs["pool_cls"] = concurrency.get_implementation(
+                    kwargs.get("pool_cls") or self.app.conf.CELERYD_POOL)
         return self.app.Worker(**kwargs).run()
 
     def get_options(self):