1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Avoid casting worker_timeout twice (#1838)

This commit is contained in:
Bogomir Engel 2019-07-14 13:17:39 +02:00 committed by Nate Berkopec
parent 13567c9dcd
commit f2240e3b2c

View file

@ -476,7 +476,7 @@ module Puma
raise "The minimum worker_timeout must be greater than the worker reporting interval (#{min})"
end
@options[:worker_timeout] = Integer(timeout)
@options[:worker_timeout] = timeout
end
# *Cluster mode only* Set the timeout for workers to boot