From 209260696ac024468b28bf1ac28274bc84fc0c55 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 19 Jan 2021 14:21:30 -0800 Subject: [PATCH] Disable nakayoshi_fork by default This a precautionary step to see if this prevents a seg fault at boot: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/3370 --- gitlab-webservice/configuration/puma.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab-webservice/configuration/puma.rb b/gitlab-webservice/configuration/puma.rb index e85c36a37..534418f83 100644 --- a/gitlab-webservice/configuration/puma.rb +++ b/gitlab-webservice/configuration/puma.rb @@ -79,7 +79,7 @@ end # https://github.com/puma/puma/blob/master/5.0-Upgrade.md#nakayoshi_fork if defined?(nakayoshi_fork) - nakayoshi_fork unless ENV['DISABLE_PUMA_NAKAYOSHI_FORK'] == 'true' + nakayoshi_fork if ENV['ENABLE_PUMA_NAKAYOSHI_FORK'] == 'true' end # Use json formatter -- GitLab