mopybird 2 年之前
父节点
当前提交
0ca73c6c85
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      taskmanager/config.py

+ 2 - 2
taskmanager/config.py

@@ -26,7 +26,7 @@ def env(key):
 
 # ========== broker settings ===========
 #: broker url
-BROKER_URL = env('MANYI_CELERY_BROKER_URL')
+BROKER_URL = env('CELERY_BROKER_URL')
 
 # : 指定接受的内容类型
 CELERY_ACCEPT_CONTENT = ['json', 'msgpack']
@@ -449,7 +449,7 @@ CELERYD_MAX_TASKS_PER_CHILD = 100
 CELERY_TASK_RESULT_EXPIRES = 60 * 60 * 24
 
 #: 结果储存
-CELERY_RESULT_BACKEND = env('MANYI_CELERY_RESULT_BACKEND')
+CELERY_RESULT_BACKEND = env('CELERY_RESULT_BACKEND')
 
 CELERYD_LOG_FORMAT = '[%(asctime)s] %(levelname)s[%(processName)s] %(module)s [%(name)s:%(lineno)d]: %(message)s'