Skip to content

Instantly share code, notes, and snippets.

@sleekslush
Created February 14, 2012 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sleekslush/1828464 to your computer and use it in GitHub Desktop.
Save sleekslush/1828464 to your computer and use it in GitHub Desktop.
When I'm configuring in a Django app, what is the purpose of the djcelery models? Right now tables get created, but nothing flows into them. Is this the database backend replacement for Redis and RabbitMQ? Or is it something else?
Why do workers delete items from the queue if they are unable to process them (i.e. task wasn't found)?
What is the best way to identify if a task, based on id, exists in the queue and what its status is?
How do I know if a task id is even valid?
What is the preferred way to run 2 celeryd processes that are intended to handle different tasks? (i.e. proc 1 doesn't handle tasks that proc 2 is responsible for and vice versa)
These are just a few questions I've had to start. Don't get me wrong, I got it to work and it's really nice in that regard. I just can't find information on the above issues. Thanks for reaching out :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment