Merge "Performance Improvement: Async Notification Pool Configuration"
[cps.git] / cps-application / src / main / resources / application.yml
index 8083a97..1755134 100644 (file)
@@ -46,6 +46,13 @@ spring:
         password: ${DB_PASSWORD}\r
         driverClassName: org.postgresql.Driver\r
         initialization-mode: always\r
+        hikari:\r
+            minimumIdle: 5\r
+            maximumPoolSize: 80\r
+            idleTimeout: 120000\r
+            connectionTimeout: 300000\r
+            leakDetectionThreshold: 300000\r
+            pool-name: CpsDatabasePool\r
 \r
     cache:\r
         type: caffeine\r