Explorar o código

Increase read buffer.

Joe Clarke %!s(int64=4) %!d(string=hai) anos
pai
achega
c5c31bc30a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      automation/network/diff-route-tables.py

+ 1 - 1
automation/network/diff-route-tables.py

@@ -97,7 +97,7 @@ if __name__ == "__main__":
                         time.sleep(0.5)
                         i += 1
                     while chan.recv_ready():
-                        output = output + chan.recv(65535).decode("utf-8")
+                        output = output + chan.recv(131070).decode("utf-8")
                 except Exception as ie:
                     print("Failed to get {} from {}: {}".format(command, router, ie))
                     continue