Explorar o código

test: console sleep cpu-load

micha %!s(int64=3) %!d(string=hai) anos
pai
achega
7a32bea476
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: