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"
精彩评论