Continuing development

pull/292/head
morpheus65535 6 years ago
parent fd840d86c0
commit 4686e7da55

@ -1742,13 +1742,15 @@ def handle_websocket():
if not wsock:
abort(400, 'Expected WebSocket request.')
queueconfig.q4ws.empty()
while True:
# try:
while not queueconfig.q4ws.empty():
wsock.send(queueconfig.q4ws.get_nowait())
gevent.sleep(0)
# except WebSocketError:
# break
try:
while not queueconfig.q4ws.empty():
wsock.send(queueconfig.q4ws.get_nowait())
gevent.sleep(0)
except WebSocketError:
break
import warnings
# Mute DeprecationWarning

@ -216,7 +216,13 @@
new Noty({
text: evt.data,
timeout: 3000,
type: 'success',
progressBar: false,
animation: {
open: null,
close: null
},
killer: true,
type: 'success',
layout: 'bottomRight',
theme: 'semanticui'
}).show();

Loading…
Cancel
Save