From c51d4f64cd22815bf672a7848736c7ac53279934 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 18 Aug 2022 08:50:06 +0100 Subject: 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 --- cps-application/src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cps-application') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 6bbe80bfb7..8083a97953 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 -- cgit 1.2.3-korg