Continuing development

pull/292/head
morpheus65535 6 years ago
parent e12b09bca9
commit 046f4e652b

@ -1753,8 +1753,7 @@ def handle_websocket():
while True: while True:
try: try:
if len(queueconfig.q4ws) > 0: if len(queueconfig.q4ws) > 0:
wsock.send(queueconfig.q4ws[0]) wsock.send(queueconfig.q4ws.popleft())
queueconfig.q4ws.popleft()
gevent.sleep(0) gevent.sleep(0)
except WebSocketError: except WebSocketError:
break break

Loading…
Cancel
Save