1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
Francesco Rodriguez 64f930dfb7 Minor refactor on Thread pool (#1088)
* Move shutdown grace time constant to ThreadPool.
SHUTDOWN_GRACE_TIME is the only constant (from const.rb) used by
ThreadPool. It's better to move the constant than require all const.rb.
* Fix minor typo.

* Don't need to check if timeout is zero to immediately shutdown.
This removes the duplicated code and add test for forced shutdowns.
2016-11-20 11:36:47 -07:00
..
puma Minor refactor on Thread pool (#1088) 2016-11-20 11:36:47 -07:00
rack/handler Rack handler uses Rack::CommonLogger. 2016-09-07 21:13:47 +02:00
puma.rb Require StateFile if needed. 2016-09-08 17:46:24 +02:00