djangoセロリが機能しなくなった理由を理解するために2時間を費やしました。
Celeryは起動しますが、構成アイテムを印刷することはできず、正しく起動していなかったことを意味します。ログには、
The celery.decorators module along with the magic keyword arguments,
are deprecated, and will be removed in version 3.0.
Please use the celery.task module instead of celery.decorators,
and the task.request should be used instead of the magic keyword arguments:
from celery.task import task
See http://bit.ly/celery22major for more information.
"""))
別の問題を修正するためにインポートしていたセロリの環境変数の中には、セロリが正しく起動しない原因となっているものがあります。
from celery.tests.config import CELERY_QUEUES, CELERY_DEFAULT_QUEUE, CELERY_DEFAULT_ROUTING_KEY
どこにも使っていなかったのに。
誰かが何が起こっていたか知っていますか?