]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3542 revert the activerecord property "pool"
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Sep 2012 08:09:07 +0000 (10:09 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Sep 2012 08:09:07 +0000 (10:09 +0200)
sonar-server/src/main/webapp/WEB-INF/config/database.yml

index fa2f9cc3b682e392adfb34a3e329b25ca31c8678..5fdee0d5d9ec0b6f9715ee828a9667b76a1ae81e 100644 (file)
@@ -1,6 +1,7 @@
 base: &base
   adapter: jdbc
   dialect: <%= ::Java::OrgSonarServerUi::JRubyFacade.getInstance().getDatabase().getDialect().getActiveRecordDialectCode() %>
+  pool: <%= ::Java::OrgSonarServerUi::JRubyFacade.getInstance().getConfigurationValue('sonar.jdbc.maxActive') || 10 %>
 
   # postgreSQL
   schema_search_path: <%= ::Java::OrgSonarServerUi::JRubyFacade.getInstance().getDatabase().getSchema() %>