From cd048075b11eef88501619da0068d5eb6dd330f7 Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Thu, 2 Sep 2021 10:30:09 -0400 Subject: 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 Change-Id: I28c2c98d7a79219a5932732d2940f5ac37bf1653 --- cps-application/src/main/resources/application.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'cps-application/src/main') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 82c6e0aed..42addf1b0 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: -- cgit 1.2.3-korg