From a040b1c181290440b9f42a2be7112d170eb2c568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=93=9D=E6=9E=AB?= Date: Tue, 21 Jul 2015 10:26:49 +0800 Subject: [PATCH] Update connect.py fix cpu used 100% --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index dc74a6701..83a23a5c7 100644 --- a/connect.py +++ b/connect.py @@ -131,7 +131,7 @@ def posix_shell(chan, username, host): if chan in r: try: - x = chan.recv(1024) + x = chan.recv(10240) if len(x) == 0: break sys.stdout.write(x)