# File lib/sshkit/backends/connection_pool.rb, line 44 def initialize(idle_timeout=30) @idle_timeout = idle_timeout @caches = {} @caches.extend(MonitorMixin) @timed_out_connections = Queue.new # Spin up eviction loop only if caching is enabled if cache_enabled? Thread.new { run_eviction_loop } end end