Skip to content

Instantly share code, notes, and snippets.

@DavidYKay
Created May 30, 2012 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidYKay/2839034 to your computer and use it in GitHub Desktop.
Save DavidYKay/2839034 to your computer and use it in GitHub Desktop.
Gondor Redis Settings
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