소스 검색

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: