Merge "Process data-updated event asynchronously"
[cps.git] / cps-application / src / main / resources / application.yml
index bafe7f4..39309d8 100644 (file)
@@ -73,7 +73,14 @@ notification:
         enabled: false\r
         topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}\r
         filters:\r
-            enabled-dataspaces: ${DATASPACE_FILTER_PATTERNS:""}\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
+\r
 \r
 springdoc:\r
     swagger-ui:\r