mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
tweak for truffleruby
This commit is contained in:
parent
3645f75bfc
commit
6200e52244
1 changed files with 1 additions and 2 deletions
|
@ -335,9 +335,8 @@ class TestConfigEnvVariables < TestConfigFileBase
|
|||
|
||||
def test_config_preloads_app_if_using_workers
|
||||
with_env("WEB_CONCURRENCY" => "2") do
|
||||
preload = Puma::Plugin.new.workers_supported?
|
||||
conf = Puma::Configuration.new
|
||||
assert_equal preload, conf.options.default_options[:preload_app]
|
||||
assert_equal preload, conf.options.default_options[:preload_app] if ::Process.respond_to?(:fork)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue