Parcourir la source

Increase read buffer.

Joe Clarke il y a 4 ans
Parent
commit
c5c31bc30a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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