aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application/src/main
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2022-08-31 11:58:09 +0100
committerToine Siebelink <toine.siebelink@est.tech>2022-09-01 08:18:17 +0000
commit791af2fb0f717a2b58d55a7d16d6fb33060b7205 (patch)
tree145e71f5ca96a526594ba3f5461fdddf2b9fa5ba /cps-application/src/main
parentb176de24a873cbd6ff8df07c7947ed6ba7093af7 (diff)
Performance Improvement: Watchdog Parallel execution with configuration
- Introduced AsyncSyncExecutor to get task and execute it with configured number of parallel threads. - Number of parallel thread can be configured from application.yml. - AsyncTaskExecutorSpec is added - Fixed existing grovvy test now async task would be submitted. Issue-ID: CPS-1200 Change-Id: I58c0368b945c90e619c2acfc7458ba58de047484 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-application/src/main')
-rw-r--r--cps-application/src/main/resources/application.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index f7fa7356a3..9b6f41ec23 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -172,3 +172,7 @@ timers:
sleep-time-ms: 300000
cm-handle-data-sync:
sleep-time-ms: 30000
+
+modules-sync-watchdog:
+ async-executor:
+ parallelism-level: 10 \ No newline at end of file