diff options
-rw-r--r-- | lib/net/ssh/gateway.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/net/ssh/gateway.rb b/lib/net/ssh/gateway.rb index 214dd35..49be1b1 100644 --- a/lib/net/ssh/gateway.rb +++ b/lib/net/ssh/gateway.rb @@ -190,8 +190,9 @@ class Net::SSH::Gateway @thread = Thread.new do while @active @session_mutex.synchronize do - @session.process(0.1) + @session.process(0.001) end + Thread.pass end end end |