1
結果バックエンドなしで、セロリタスクが完了するのをどのように待つのですか?結果のバックエンドが使用されていない場合は両方とも.collect()
and .get()
が失敗します。私は仕事の結果を必要とせず、ただ完了するのを待つだけです。結果バックエンドなしでセロリタスクが完了するまで待つ
>>> add.delay(1, 2).get()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/celery/result.py", line 169, in get
no_ack=no_ack,
File "/usr/local/lib/python2.7/site-packages/celery/backends/base.py", line 616, in _is_disabled
'No result backend configured. '
NotImplementedError: No result backend configured. Please see the documentation for more information.