mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 17:07:46 +08:00
fix celery config
This commit is contained in:
@@ -129,7 +129,9 @@ def register_extensions(app):
|
|||||||
rd.init_app(app)
|
rd.init_app(app)
|
||||||
if app.config.get('USE_ES'):
|
if app.config.get('USE_ES'):
|
||||||
es.init_app(app)
|
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):
|
def register_blueprints(app):
|
||||||
|
Reference in New Issue
Block a user