Merge "Put jgit pack settings in jgit.config"
This commit is contained in:
commit
bd497acc58
@ -1,2 +0,0 @@
|
|||||||
[receive]
|
|
||||||
autogc = false
|
|
@ -88,8 +88,8 @@
|
|||||||
when: gerrit_replication is defined
|
when: gerrit_replication is defined
|
||||||
|
|
||||||
- name: Write Gerrit JGit config
|
- name: Write Gerrit JGit config
|
||||||
copy:
|
template:
|
||||||
src: jgit.config
|
src: jgit.config.j2
|
||||||
dest: "{{ gerrit_site_dir }}/etc/jgit.config"
|
dest: "{{ gerrit_site_dir }}/etc/jgit.config"
|
||||||
owner: "{{ gerrit_user_name }}"
|
owner: "{{ gerrit_user_name }}"
|
||||||
group: "{{ gerrit_user_name }}"
|
group: "{{ gerrit_user_name }}"
|
||||||
|
6
playbooks/roles/gerrit/templates/jgit.config.j2
Normal file
6
playbooks/roles/gerrit/templates/jgit.config.j2
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[core]
|
||||||
|
packedGitOpenFiles = {{ gerrit_packed_git_open_files }}
|
||||||
|
packedGitLimit = 400m
|
||||||
|
packedGitWindowSize = 16k
|
||||||
|
[receive]
|
||||||
|
autogc = false
|
Loading…
Reference in New Issue
Block a user