Created
May 30, 2012 21:21
-
-
Save DavidYKay/2839034 to your computer and use it in GitHub Desktop.
Gondor Redis Settings
This file contains hidden or 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
try: | |
from local_settings import * | |
BROKER_TRANSPORT = "redis" | |
BROKER_HOST = GONDOR_REDIS_HOST | |
BROKER_PORT = GONDOR_REDIS_PORT | |
BROKER_VHOST = "0" | |
BROKER_PASSWORD = GONDOR_REDIS_PASSWORD | |
CELERY_RESULT_BACKEND = "redis" | |
CELERY_REDIS_HOST = GONDOR_REDIS_HOST | |
CELERY_REDIS_PORT = GONDOR_REDIS_PORT | |
CELERY_REDIS_PASSWORD = GONDOR_REDIS_PASSWORD | |
except ImportError: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment