# File lib/mongrel.rb, line 239 def graceful_shutdown while reap_dead_workers("shutdown") > 0 STDERR.puts "Waiting for #{@workers.list.length} requests to finish, could take #{@timeout + @throttle} seconds." sleep @timeout / 10 end end