Преглед изворни кода

decrease the sleep time to react in time

Sven Czarnian пре 3 година
родитељ
комит
4797cef3f7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      aman/com/Euroscope.py

+ 1 - 1
aman/com/Euroscope.py

@@ -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