Commit c1288ecd authored by ibuler's avatar ibuler

Merge branch 'dev' of https://github.com/jumpserver/coco into dev

parents 62fb32d8 9c621c82
......@@ -172,7 +172,7 @@ class HttpServer:
port = self.app.config["HTTPD_PORT"]
print('Starting websocket server at {}:{}'.format(host, port))
self.socketio.on_namespace(SSHws('/ssh').app(self.app))
self.socketio.init_app(self.flask)
self.socketio.init_app(self.flask, async_mode="threading")
self.socketio.run(self.flask, port=port, host=host)
def shutdown(self):
......
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