mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 23:34:27 +08:00
fix celery config
This commit is contained in:
@@ -129,7 +129,9 @@ def register_extensions(app):
|
||||
rd.init_app(app)
|
||||
if app.config.get('USE_ES'):
|
||||
es.init_app(app)
|
||||
celery.conf.update(app.config.get('CELERY'))
|
||||
|
||||
app.config.update(app.config.get("CELERY"))
|
||||
celery.conf.update(app.config)
|
||||
|
||||
|
||||
def register_blueprints(app):
|
||||
|
Reference in New Issue
Block a user