- Add configuration of agents, tasks, tools, specialist in context of SPIN specialist
- correct startup of applications using gevent - introduce startup scripts (eveai_app) - caching manager for all configurations
This commit is contained in:
@@ -8,8 +8,6 @@ from common.extensions import db, minio_client, template_manager, cache_manager
|
||||
import config.logging_config as logging_config
|
||||
from config.config import get_config
|
||||
|
||||
from . import processors
|
||||
|
||||
|
||||
def create_app(config_file=None):
|
||||
app = Flask(__name__)
|
||||
@@ -28,6 +26,8 @@ def create_app(config_file=None):
|
||||
|
||||
register_extensions(app)
|
||||
|
||||
from . import processors
|
||||
|
||||
celery = make_celery(app.name, app.config)
|
||||
init_celery(celery, app)
|
||||
|
||||
@@ -47,4 +47,3 @@ def register_extensions(app):
|
||||
|
||||
|
||||
app, celery = create_app()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user