Browse Source

test: console sleep cpu-load

micha 3 years ago
parent
commit
7a32bea476
1 changed files with 1 additions and 0 deletions
  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: