Merge "Allow Gerrit to use 4 threads for indexing changes."

This commit is contained in:
Jenkins 2015-12-10 20:39:57 +00:00 committed by Gerrit Code Review
commit 4dc7034e5b
2 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class openstack_project::gerrit (
$secondary_index = true,
$report_bug_text = 'Get Help',
$report_bug_url = 'http://docs.openstack.org/infra/system-config/project.html#contributing',
$index_threads = 1,
) {
class { 'jeepyb::openstackwatch':
@ -206,6 +207,7 @@ class openstack_project::gerrit (
require => Class[openstack_project::server],
report_bug_text => $report_bug_text,
report_bug_url => $report_bug_url,
index_threads => $index_threads,
}
mysql_backup::backup_remote { 'gerrit':

View File

@ -112,6 +112,7 @@ class openstack_project::review (
core_packedgitlimit => '400m',
core_packedgitwindowsize => '16k',
sshd_threads => '100',
index_threads => 4,
httpd_maxwait => '5000min',
war =>
'http://tarballs.openstack.org/ci/gerrit/gerrit-v2.8.4.19.4548330.war',