From: Joseph Keenan Date: Thu, 18 Aug 2022 10:52:15 +0000 (+0000) Subject: Merge "Set Sleep Times as Environment Variable in CSIT" X-Git-Tag: 3.1.0~41 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=daaaa1080d08f9e076ca6f7be61010ab1db61f66;hp=cc43240bdb317de2d0d5c20f1379a62989d160ef;p=cps.git Merge "Set Sleep Times as Environment Variable in CSIT" --- diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 6bbe80bfb..ea1b93ba4 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -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 @@ -164,4 +171,4 @@ timers: locked-modules-sync: sleep-time-ms: 300000 cm-handle-data-sync: - sleep-time-ms: 30000 \ No newline at end of file + sleep-time-ms: 30000