system-config/modules/gerrit/templates/gerrit.config.erb
James E. Blair 559b0c86d5 Tune gerrit parameters.
In order to clone 8 keystone repos simultaneously via https in dev,
the following were needed:

httpd.acceptorThreads>=4
sshd.threads>=8

And database.poolLimit is supposed to be higher than http+ssh threads.

Change-Id: I8d011af41e32f7865424d54d5a78a10a3689e708
2012-01-20 15:50:04 +11:00

39 lines
865 B
Plaintext

# This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
[gerrit]
basePath = git
canonicalWebUrl = <%= canonicalweburl %>
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = gerrit2
poolLimit = 20
[auth]
type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %>
cookieSecure = true
contributorAgreements = true
[sendemail]
smtpServer = localhost
[container]
user = gerrit2
javaHome = /usr/lib/jvm/java-6-openjdk/jre
[sshd]
listenAddress = *:29418
threads = 12
[httpd]
listenUrl = proxy-https://*:8081/
acceptorThreads = 8
[cache]
directory = cache
[cache "web_sessions"]
maxAge = 1d
[user]
email = <%= email %>
<% commentlinks.each do |commentlink| -%>
[commentlink "<%= commentlink['name'] %>"]
match = "<%= commentlink['match'] %>"
link = "<%= commentlink['link'] %>"
<% end -%>