[dip/master] Add ENV variable not to limit gitaly

commit a5653e306619c434245683f25cec0e0fad7dbacb Author: hiro <hiro@torproject.org> Date: Thu Nov 21 19:57:50 2019 +0100 Add ENV variable not to limit gitaly --- roles/gitlab/templates/unicorn.rb.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/gitlab/templates/unicorn.rb.j2 b/roles/gitlab/templates/unicorn.rb.j2 index 338808a..406b359 100644 --- a/roles/gitlab/templates/unicorn.rb.j2 +++ b/roles/gitlab/templates/unicorn.rb.j2 @@ -81,6 +81,9 @@ ENV['GITLAB_UNICORN_MEMORY_MIN'] = (600 * 1 << 20).to_s # Max memory size (RSS) per worker ENV['GITLAB_UNICORN_MEMORY_MAX'] = (800 * 1 << 20).to_s +# Do not limit gitaly +ENV['GITALY_DISABLE_REQUEST_LIMITS'] = '1' + require_relative "{{ ansible_user_dir }}/gitlab/lib/gitlab/cluster/lifecycle_events" before_exec do |server|
participants (1)
-
hiro@torproject.org