diff --git a/renren-admin/src/main/resources/application-dev.yml b/renren-admin/src/main/resources/application-dev.yml index bb675498..58bd4485 100644 --- a/renren-admin/src/main/resources/application-dev.yml +++ b/renren-admin/src/main/resources/application-dev.yml @@ -26,10 +26,13 @@ spring: # url: jdbc:postgresql://192.168.10.10:5432/postgres # username: postgres # password: 123456 - initial-size: 10 - max-active: 100 - min-idle: 10 - max-wait: 10 + initial-size: 50 + max-active: 1000 + min-idle: 100 + max-wait: 100 + removeAbandoned: true + removeAbandonedTimeout: 300 + logAbandoned: false pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 time-between-eviction-runs-millis: 60000