From 8b2ec5b7ae48daf01c2d030b9cf00c3c653fcc9e Mon Sep 17 00:00:00 2001 From: Devananda van der Veen Date: Tue, 3 Apr 2012 19:55:56 -0700 Subject: [PATCH] Enable MySQL connection pooling 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 --- modules/gerrit/templates/gerrit.config.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gerrit/templates/gerrit.config.erb b/modules/gerrit/templates/gerrit.config.erb index 22411ad843..c7eba25d38 100644 --- a/modules/gerrit/templates/gerrit.config.erb +++ b/modules/gerrit/templates/gerrit.config.erb @@ -10,6 +10,7 @@ database = reviewdb username = gerrit2 poolLimit = 32 + connectionpool = true [auth] type = OPENID_SSO openIdSsoUrl = <%= openidssourl %>