diff --git a/lib/puma/server.rb b/lib/puma/server.rb index f0d4543e..f21597ac 100644 --- a/lib/puma/server.rb +++ b/lib/puma/server.rb @@ -63,7 +63,7 @@ module Puma @thread = nil @thread_pool = nil - @persistent_timeout = options[:persistent_timeout] + @persistent_timeout = options.fetch(:persistent_timeout, PERSISTENT_TIMEOUT) @binder = Binder.new(events) @own_binder = true