删除 celery 依赖

This commit is contained in:
virusdefender
2015-12-07 19:15:28 +08:00
parent f1449962e4
commit 43e8ec2d90
7 changed files with 15 additions and 38 deletions

View File

@@ -31,10 +31,12 @@ REDIS_CACHE = {
"db": 1
}
# for celery
REDIS_HOST = os.environ.get("REDIS_PORT_6379_TCP_ADDR", "127.0.0.1")
REDIS_PORT = 6379
REDIS_DB = 0
REDIS_QUEUE = {
"host": os.environ.get("REDIS_PORT_6379_TCP_ADDR", "127.0.0.1"),
"port": 6379,
"db": 2
}
DEBUG = False