Object
# File lib/puma/thread_pool.rb, line 139 def initialize(pool, timeout) @pool = pool @timeout = timeout @running = false end
# File lib/puma/thread_pool.rb, line 145 def start! @running = true @thread = Thread.new do while @running @pool.trim sleep @timeout end end end
# File lib/puma/thread_pool.rb, line 156 def stop @running = false @thread.wakeup end
[Validate]
Generated with the Darkfish Rdoc Generator 2.