Created
July 3, 2011 19:27
-
-
Save vivekn/1062526 to your computer and use it in GitHub Desktop.
Configuration for Celery using Redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CELERY_RESULT_BACKEND = "redis" | |
REDIS_HOST = "localhost" | |
REDIS_PORT = 6379 | |
REDIS_DB = 0 | |
BROKER_BACKEND = "redis" | |
BROKER_HOST = "localhost" # Maps to redis host. | |
BROKER_PORT = 6379 # Maps to redis port. | |
BROKER_VHOST = "0" # Maps to database number. | |
CELERY_IMPORTS = ("module.submodule.foo", ) # Module which contains the tasks you want to call asynchronously |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment