aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application/src
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2022-08-18 08:50:06 +0100
committerToine Siebelink <toine.siebelink@est.tech>2022-08-18 10:18:33 +0000
commitc51d4f64cd22815bf672a7848736c7ac53279934 (patch)
treedf07e16f5c2d640e4aa40010b4ad263a962c8eb7 /cps-application/src
parent060499cb5a89a0fd3d8480132ed82d2e291839dc (diff)
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 <toine.siebelink@est.tech> Change-Id: Iff56dd614ea0074a1b6aa08b81e324e2d0ce33c1
Diffstat (limited to 'cps-application/src')
-rw-r--r--cps-application/src/main/resources/application.yml6
1 files changed, 3 insertions, 3 deletions
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