rpc 通信和判题初步测试通过;判题服务器不再依赖 redis 和 mysql。

This commit is contained in:
virusdefender
2015-11-29 21:29:26 +08:00
parent 236102b6ac
commit 3311a4c899
15 changed files with 96 additions and 42 deletions

View File

@@ -22,6 +22,11 @@ REDIS_CACHE = {
"db": 1
}
# for celery
REDIS_HOST = "localhost"
REDIS_PORT = 6379
REDIS_DB = 0
DEBUG = True
ALLOWED_HOSTS = []