Fix SocketIO async_mode for threading

parent 3f1e9f98
......@@ -56,7 +56,7 @@ db = SQLAlchemy(app)
login_manager = LoginManager()
login_manager.init_app(app)
login_manager.login_view = 'login'
socketio = SocketIO(app)
socketio = SocketIO(app, async_mode='threading')
class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment