decrease the sleep time to react in time

This commit is contained in:
Sven Czarnian
2021-12-09 12:29:51 +01:00
parent 92b7e9e429
commit 4797cef3f7

View File

@@ -39,7 +39,7 @@ class ComThread(Thread):
except zmq.ZMQError as error: except zmq.ZMQError as error:
if zmq.EAGAIN == error.errno: if zmq.EAGAIN == error.errno:
time.sleep(0.5) time.sleep(0.1)
continue continue
else: else:
return return