summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2022-07-07 16:53:45 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2022-07-25 13:45:44 +0100
commit054873c7c52bdb9fae718a0d7651d57b1a995dfc (patch)
tree1dd91a2a83144d4ed07b18f12b1973cb8dc35337 /cps-application
parent9fdaf6c0f472cad13ade1469458822d468fd2d6d (diff)
CmHandle creation performance degradation
- Created a dedicated threadpool for scheduler. - Tuned async threadpool of notification executor from setting RejectedExecutionHandler and application.yml. Issue-ID: CPS-1126 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I2afe3c76c1aec78751777df0d2f08ddb8dcee102
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index def006c9ae..dd83795f74 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: 2
- max-pool-size: 10
+ core-pool-size: 10
+ max-pool-size: 100
queue-capacity: 500
wait-for-tasks-to-complete-on-shutdown: true
thread-name-prefix: Async-