Merge "Put jgit pack settings in jgit.config"

This commit is contained in:
Zuul 2020-12-09 00:01:32 +00:00 committed by Gerrit Code Review
commit bd497acc58
3 changed files with 8 additions and 4 deletions

View File

@ -1,2 +0,0 @@
[receive]
autogc = false

View File

@ -88,8 +88,8 @@
when: gerrit_replication is defined
- name: Write Gerrit JGit config
copy:
src: jgit.config
template:
src: jgit.config.j2
dest: "{{ gerrit_site_dir }}/etc/jgit.config"
owner: "{{ gerrit_user_name }}"
group: "{{ gerrit_user_name }}"

View File

@ -0,0 +1,6 @@
[core]
packedGitOpenFiles = {{ gerrit_packed_git_open_files }}
packedGitLimit = 400m
packedGitWindowSize = 16k
[receive]
autogc = false