mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Make the check for the availability of fork() more precise
This commit is contained in:
parent
b9a499d4c8
commit
545dbd8a18
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ module Puma
|
|||
|
||||
generate_restart_data
|
||||
|
||||
if clustered? && (Puma.jruby? || Puma.windows?)
|
||||
unsupported 'worker mode not supported on JRuby or Windows'
|
||||
if clustered? && !Process.respond_to?(:fork)
|
||||
unsupported "worker mode not supported on #{RUBY_ENGINE} on this platform"
|
||||
end
|
||||
|
||||
if @options[:daemon] && Puma.windows?
|
||||
|
|
Loading…
Reference in a new issue