Skip to content

Django/celery/AWS Elasticache Redis only running tasks about half the time #8579

Closed Answered by aas395
aas395 asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone else who comes across something similar, the issue ended up being that I had two different versions of my application pointing to the same redis instance and sharing the same queue. There were two workers on different servers taking tasks from the queue and some events were being sent to a version of the application that was not set up to handle that particular task. I solved this by giving the newer version of the app a different queue name and having the celery worker representing the newer version of the app pull from the new queue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aas395
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant