# File lib/sshkit/backends/connection_pool/cache.rb, line 25 def push(conn) # No need to cache if the connection has already been closed. return if closed?(conn) connections.synchronize do connections.push([Time.now + idle_timeout, conn]) end end