diff --git a/app/__init__.py b/app/__init__.py index 6d788f8d..2b11b4ab 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -25,7 +25,7 @@ def create_app(config_name): mail.init_app(app) scheduler.init_app(app) scheduler.start() - socketio.init_app(app) + socketio.init_app(app, message_qeue='redis://') from .auth import auth as auth_blueprint app.register_blueprint(auth_blueprint, url_prefix='/auth') diff --git a/opaque.py b/opaque.py index 2b61164b..7ed970fd 100644 --- a/opaque.py +++ b/opaque.py @@ -1,3 +1,6 @@ +import eventlet +eventlet.monkey_patch() + from dotenv import load_dotenv load_dotenv()