Commit c0309e23 authored by gaoming's avatar gaoming

de

parent bb0d0411
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['*']
#**********************************Celery Config*************************************************
CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0' # Broker配置,使用Redis作为消息中间件
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0' # BACKEND配置,这里使用redis
CELERY_RESULT_SERIALIZER = 'json' # 结果序列化方案
#***********************************Redis Config***********************************************
REDIS_HOST="127.0.0.1"
REDIS_PASSWORD=""
REDIS_PORT=6379
REDIS_DB=0
#***********************************************************************************
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment