
Connection pool must be explicitly enabled. See lines 160 - 175 of file gerrit:gerrit-server/src/main/java/com/google/gerrit/server/schema/DataSourceProvider.java Change-Id: I0f2d712cfa622d318e81a327ce18283aa086f894
41 lines
894 B
Plaintext
41 lines
894 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 = 32
|
|
connectionpool = true
|
|
[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 = 24
|
|
[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 -%>
|