diff --git a/bazarr/main.py b/bazarr/main.py index ed4689199..80bf08a7e 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -1754,9 +1754,11 @@ def handle_websocket(): while True: try: - if len(queueconfig.q4ws) > 0: + if queueconfig.q4ws: wsock.send(queueconfig.q4ws.popleft()) - gevent.sleep(0) + gevent.sleep(0.1) + else: + gevent.sleep(0.5) except WebSocketError: break