|
|
@@ -4,21 +4,21 @@
|
|
|
"username":"uuplatformdemo",
|
|
|
"password":"selectuuplatform",
|
|
|
"initialSize":3,
|
|
|
- "minIdle":3,
|
|
|
+ "minIdle":0,
|
|
|
"maxActive":20,
|
|
|
"maxWait":60000,
|
|
|
"timeBetweenEvictionRunsMillis":60000,
|
|
|
"minEvictableIdleTimeMillis":300000,
|
|
|
"validationQuery":"SELECT 1 FROM DUAL",
|
|
|
"testWhileIdle":true,
|
|
|
- "testOnBorrow":false,
|
|
|
+ "testOnBorrow":true,
|
|
|
"testOnReturn":false,
|
|
|
"removeAbandoned":true,
|
|
|
- "removeAbandonedTimeout":1800,
|
|
|
+ "removeAbandonedTimeout":120,
|
|
|
"logAbandoned":true,
|
|
|
+ "timeBetweenLogStatsMillis":60000,
|
|
|
"poolPreparedStatements":true,
|
|
|
"maxPoolPreparedStatementPerConnectionSize":20,
|
|
|
"filters":"stat,log4j",
|
|
|
- "connectionProperties":"druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000",
|
|
|
- "useGlobalDataSourceStat":true
|
|
|
+ "connectionProperties":"druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000"
|
|
|
}
|