mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
remove comments, should be ready.. lets see if tests still fail
This commit is contained in:
parent
b257dfe422
commit
b2dad7b9f7
1 changed files with 1 additions and 3 deletions
|
@ -137,12 +137,10 @@ module Puma
|
||||||
@file_dsl = DSL.new(@options.file_options, self)
|
@file_dsl = DSL.new(@options.file_options, self)
|
||||||
@default_dsl = DSL.new(@options.default_options, self)
|
@default_dsl = DSL.new(@options.default_options, self)
|
||||||
|
|
||||||
# 1. workers_supported - #Puma::Plugin.new.workers_supported?)
|
|
||||||
workers_supported = !(Puma.jruby? || Puma.windows?)
|
workers_supported = !(Puma.jruby? || Puma.windows?)
|
||||||
|
|
||||||
# 2. preload app
|
|
||||||
if !@options[:prune_bundler]
|
if !@options[:prune_bundler]
|
||||||
default_options[:preload_app] =(@options[:workers] > 1) && workers_supported
|
default_options[:preload_app] = (@options[:workers] > 1) && workers_supported
|
||||||
end
|
end
|
||||||
|
|
||||||
if block
|
if block
|
||||||
|
|
Loading…
Add table
Reference in a new issue