From: ToineSiebelink Date: Thu, 18 Aug 2022 07:50:06 +0000 (+0100) Subject: Performance Improvement: Async Notification Pool Configuration X-Git-Tag: 3.1.0~38^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c51d4f64cd22815bf672a7848736c7ac53279934;p=cps.git Performance Improvement: Async Notification Pool Configuration Reduce threads available for notifications to allow more resources for module sync Issue-ID: CPS-1199 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink Change-Id: Iff56dd614ea0074a1b6aa08b81e324e2d0ce33c1 --- diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 6bbe80bfb..8083a9795 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -100,8 +100,8 @@ notification: enabled-dataspaces: ${NOTIFICATION_DATASPACE_FILTER_PATTERNS:""} async: executor: - core-pool-size: 10 - max-pool-size: 100 + core-pool-size: 2 + max-pool-size: 10 queue-capacity: 500 wait-for-tasks-to-complete-on-shutdown: true thread-name-prefix: Async- @@ -164,4 +164,4 @@ timers: locked-modules-sync: sleep-time-ms: 300000 cm-handle-data-sync: - sleep-time-ms: 30000 \ No newline at end of file + sleep-time-ms: 30000