decrease the sleep time to react in time
This commit is contained in:
1 parent
92b7e9e429
commit
4797cef3f7
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user