开发者

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

开发者 https://www.devze.com 2023-03-04 23:18 出处:网络
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

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

精彩评论

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