From: Joseph Keenan Date: Fri, 19 Aug 2022 08:47:08 +0000 (+0000) Subject: Merge "Performance Improvement: Async Notification Pool Configuration" X-Git-Tag: 3.1.0~38 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0f4c024974edfb6185dc744ec60acec5b9d75b9d;hp=-c;p=cps.git Merge "Performance Improvement: Async Notification Pool Configuration" --- 0f4c024974edfb6185dc744ec60acec5b9d75b9d diff --combined cps-application/src/main/resources/application.yml index ea1b93ba4,8083a9795..17551344f --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@@ -46,13 -46,6 +46,13 @@@ spring password: ${DB_PASSWORD} driverClassName: org.postgresql.Driver initialization-mode: always + hikari: + minimumIdle: 5 + maximumPoolSize: 80 + idleTimeout: 120000 + connectionTimeout: 300000 + leakDetectionThreshold: 300000 + pool-name: CpsDatabasePool cache: type: caffeine @@@ -107,8 -100,8 +107,8 @@@ notification enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""} async: executor: - core-pool-size: 10 - max-pool-size: 100 + core-pool-size: 2 + max-pool-size: 10 queue-capacity: 500 wait-for-tasks-to-complete-on-shutdown: true thread-name-prefix: Async-