Add property to enable Notification Sevice async processing
[cps.git] / cps-application / src / main / resources / application.yml
index 82c6e0a..42addf1 100644 (file)
@@ -74,12 +74,14 @@ notification:
         topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}\r
         filters:\r
             enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""}\r
-    async-executor:\r
-        core-pool-size: 2\r
-        max-pool-size: 10\r
-        queue-capacity: 500\r
-        wait-for-tasks-to-complete-on-shutdown: true\r
-        thread-name-prefix: Async-\r
+    async:\r
+        enabled: false\r
+        executor:\r
+            core-pool-size: 2\r
+            max-pool-size: 10\r
+            queue-capacity: 500\r
+            wait-for-tasks-to-complete-on-shutdown: true\r
+            thread-name-prefix: Async-\r
 \r
 \r
 springdoc:\r