开发者

result.wait() does nothing but hang and doesn't give 8 for result=add.delay(4,4)

add is the task from celery doc. I'm just so confused why it does'nt yield 8 as it should, 开发者_如何学Gobut instead does nothing but hang.


Did you try setting result back-end, this fixed problem in my case

CELERY_RESULT_BACKEND = "amqp"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜