mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-15 11:05:16 +00:00
Fixed socketio slow emits
This commit is contained in:
parent
4e003c5698
commit
eb61c6f355
|
@ -71,6 +71,7 @@ class SocketInterface(MessageInterface):
|
|||
socketio.emit(message, value)
|
||||
else:
|
||||
socketio.emit(message)
|
||||
socketio.sleep(0)
|
||||
|
||||
|
||||
socket_interface = SocketInterface()
|
||||
|
@ -131,7 +132,7 @@ def shutdown(interface=None):
|
|||
|
||||
def shutdown_handler(signalnum, frame):
|
||||
shutdown()
|
||||
|
||||
|
||||
@server.route('/')
|
||||
def landing():
|
||||
return render_template('index.html')
|
||||
|
|
Loading…
Reference in a new issue