1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

change timeout key passed to scrapli - fixes issue with long-running commands that exceed the standard timeout

This commit is contained in:
checktheroads
2021-02-25 21:02:53 -07:00
parent c97e8daea0
commit cca6b60f09

View File

@@ -87,7 +87,7 @@ class ScrapliConnection(SSHConnection):
"host": host or self.device._target,
"port": port or self.device.port,
"auth_username": self.device.credential.username,
"timeout_transport": math.floor(params.request_timeout * 1.25),
"timeout_ops": math.floor(params.request_timeout * 1.25),
"transport": "asyncssh",
"auth_strict_key": False,
"ssh_known_hosts_file": False,