diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-09 10:18:58 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-09 10:18:58 +0200 |
commit | 63c73ea8c9539f17bd160b04b3ed946e97b61a53 (patch) | |
tree | 252d5989abc57834aad6553ab02226d1e610234d /sonar-application/src | |
parent | 21e4e5984a6fc43f505e6e394f51af6fcb1de544 (diff) | |
download | sonarqube-63c73ea8c9539f17bd160b04b3ed946e97b61a53.tar.gz sonarqube-63c73ea8c9539f17bd160b04b3ed946e97b61a53.zip |
SONAR-6914 Change default sizes of HTTP and DB pools
Diffstat (limited to 'sonar-application/src')
-rw-r--r-- | sonar-application/src/main/assembly/conf/sonar.properties | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 2b607399e2f..19056fbc3aa 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -61,7 +61,10 @@ #----- Connection pool settings # The maximum number of active connections that can be allocated # at the same time, or negative for no limit. -#sonar.jdbc.maxActive=50 +# The recommended value is 1.2 * max sizes of HTTP/HTTPS pools. For example if both HTTP and +# HTTPS ports are enabled with default sizes (50, see properties sonar.web.http.maxThreads +# and sonar.web.https.maxThreads) then sonar.jdbc.maxActive should be 1.2 * (50 + 50) = 120. +#sonar.jdbc.maxActive=60 # The maximum number of connections that can remain idle in the # pool, without extra ones being released, or negative for no limit. |