decrease the sleep time to react in time
This commit is contained in:
@@ -39,7 +39,7 @@ class ComThread(Thread):
|
||||
|
||||
except zmq.ZMQError as error:
|
||||
if zmq.EAGAIN == error.errno:
|
||||
time.sleep(0.5)
|
||||
time.sleep(0.1)
|
||||
continue
|
||||
else:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user