lib/rye/box.rb in rye-0.8.9 vs lib/rye/box.rb in rye-0.8.11

- old
+ new

@@ -654,10 +654,10 @@ # Close the SSH session with +@rye_host+. This is called # automatically at exit if the connection is open. def disconnect return unless @rye_ssh && !@rye_ssh.closed? begin - Timeout::timeout(3) do + Timeout::timeout(10) do @rye_ssh.loop(0.3) { @rye_ssh.busy?; } end rescue SystemCallError, Timeout::Error => ex error "Disconnect timeout (was something still running?)" end