summaryrefslogtreecommitdiffstats
path: root/cps-application/src
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-09-02 10:30:09 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-09-02 11:44:57 -0400
commitcd048075b11eef88501619da0068d5eb6dd330f7 (patch)
tree92f4feaad6d0d92170eb4d1949686972e5840966 /cps-application/src
parent88cadd3f3aaa22cccb0d2159cf57fb2b84d440a2 (diff)
Add property to enable Notification Sevice async processing
- made notification service synchronous by default - added new property to enable async processing if required Issue-ID: CPS-630 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I28c2c98d7a79219a5932732d2940f5ac37bf1653
Diffstat (limited to 'cps-application/src')
-rw-r--r--cps-application/src/main/resources/application.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 82c6e0aed1..42addf1b0c 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -74,12 +74,14 @@ notification:
topic: ${CPS_CHANGE_EVENT_TOPIC:cps.data-updated-events}
filters:
enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""}
- async-executor:
- core-pool-size: 2
- max-pool-size: 10
- queue-capacity: 500
- wait-for-tasks-to-complete-on-shutdown: true
- thread-name-prefix: Async-
+ async:
+ enabled: false
+ executor:
+ core-pool-size: 2
+ max-pool-size: 10
+ queue-capacity: 500
+ wait-for-tasks-to-complete-on-shutdown: true
+ thread-name-prefix: Async-
springdoc: