From c502ee57f7abf6bad22f099e2eb298101248e4e8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 Jun 2022 17:52:06 +0100 Subject: [PATCH] Set nginx to use automatic number of workers See https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6895 --- ansible/roles/gitlab/files/gitlab.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/gitlab/files/gitlab.rb b/ansible/roles/gitlab/files/gitlab.rb index 610529f..71aa5a1 100644 --- a/ansible/roles/gitlab/files/gitlab.rb +++ b/ansible/roles/gitlab/files/gitlab.rb @@ -51,3 +51,6 @@ registry['storage'] = { 'regionendpoint' => 'https://s3.eu-central-003.backblazeb2.com' } } + +# https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6895 +nginx['worker_processes'] = "auto"