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

test: console sleep cpu-load

micha пре 3 година
родитељ
комит
7a32bea476
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      lib/chat.py

+ 1 - 0
lib/chat.py

@@ -167,6 +167,7 @@ class CMD():
                                 client_nr = clients.index(sock)
                                 clients2[client_nr] = ""
                             clients.remove(sock)
+                        time.sleep(0.0001)
         except KeyboardInterrupt:
             print(" strg+c")
         finally: