ソースを参照

All pools must have on_poll_init. Closes #1364

Ask Solem 12 年 前
コミット
e8b4b69d6c
1 ファイル変更3 行追加0 行削除
  1. 3 0
      celery/concurrency/base.py

+ 3 - 0
celery/concurrency/base.py

@@ -68,6 +68,9 @@ class BasePool(object):
     def on_stop(self):
         pass
 
+    def on_poll_init(self, w, hub):
+        pass
+
     def on_apply(self, *args, **kwargs):
         pass