Merge "Performance Improvement: Async Notification Pool Configuration"
[cps.git] / cps-application / src / main / resources / application.yml
index e0fb7ef..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
@@ -88,8 +95,9 @@ app:
     ncmp:\r
         async-m2m:\r
             topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}\r
+    lcm:\r
         events:\r
-            topic: ${NCMP_EVENTS_TOPIC:ncmp-events}\r
+            topic: ${LCM_EVENTS_TOPIC:ncmp-events}\r
 \r
 notification:\r
     enabled: true\r
@@ -164,7 +172,3 @@ timers:
         sleep-time-ms: 300000\r
     cm-handle-data-sync:\r
         sleep-time-ms: 30000\r
-\r
-data-sync:\r
-    cache:\r
-        enabled: false
\ No newline at end of file