ParallelSSH / parallel-ssh

Asynchronous parallel SSH client library.
https://parallel-ssh.org
GNU Lesser General Public License v2.1
1.2k stars 149 forks source link

Add timeout functionality to client join and channel reads #99

Closed pkittenis closed 6 years ago

pkittenis commented 6 years ago

Feature Request

Currently no timeout is set on either client.join or stdout/stderr channels. This makes long running commands to block until they are finished with no configurable timeout.

Add timeout parameter to client.join and client.run_command to be passed on to pssh.native.wait_select, defaulting to None as per current behaviour.

Ref: https://groups.google.com/forum/#!topic/parallelssh/tmuJQNMaTjU

pkittenis commented 6 years ago

Released in 1.3.1