mopybird 2 years ago
parent
commit
0ca73c6c85
1 changed files with 2 additions and 2 deletions
  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'