mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Process.respond_to?(:fork) is already defined as Puma.forkable?, so let's use it (#2793)
Co-authored-by: shields <shields@tablecheck.com>
This commit is contained in:
parent
66fc4e0abb
commit
fd34c45732
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ module Puma
|
|||
|
||||
generate_restart_data
|
||||
|
||||
if clustered? && !Process.respond_to?(:fork)
|
||||
if clustered? && !Puma.forkable?
|
||||
unsupported "worker mode not supported on #{RUBY_ENGINE} on this platform"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue