Explorar el Código

test: console sleep cpu-load

micha hace 3 años
padre
commit
7a32bea476
Se han modificado 1 ficheros con 1 adiciones y 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: