First of all, I would like to apologize for bad English.
I'm using celery with flask-restful. And when I trying publish celery task, the entire process hangs indefinitely. This occurs when I specify an incorrect value of broker url in celery config.
How I can fix this? How I can set timeout for task publishing and how I can set max retries to publish task?
I tried to use task_publish_retry directive set to False, but it's not work for me.
I bumped into the same issue and could not find a solution yet, but it seems like a bug to me so I've opened an issue on github: Celery hangs indefinitely (instead of failing) if redis is not started #4556.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With