Replies: 1 comment 2 replies
-
I explained in the comments that if your intention is to use gevent only in the Flask app, but not in the Celery workers, then you should not call the gevent monkey patching function in the Celery worker. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The issue is described here - https://stackoverflow.com/questions/79250986/failed-to-deliver-acknowledgement-to-rabbit-mq-flask-socket-io-gevent-celery
celery somehow fails to send any acknowledgement to RMQ after 1-2 successful attempts. This further blocks the queue and worker does not pick any new tasks.
Should I skip monkey_patching imports in tasks.py?
Beta Was this translation helpful? Give feedback.
All reactions