mirror of https://github.com/veops/cmdb.git
fix celery config
This commit is contained in:
parent
157361cc7a
commit
7ddaa143da
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue