ソースを参照

This is redundant because symbol_by_name will be called for self.registry_clss in __init__ method (#4703)

derek_kim 7 年 前
コミット
696646dbd9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      celery/app/base.py

+ 1 - 1
celery/app/base.py

@@ -203,7 +203,7 @@ class Celery(object):
     log_cls = 'celery.app.log:Logging'
     control_cls = 'celery.app.control:Control'
     task_cls = 'celery.app.task:Task'
-    registry_cls = TaskRegistry
+    registry_cls = 'celery.app.registry:TaskRegistry'
 
     _fixups = None
     _pool = None