From 791af2fb0f717a2b58d55a7d16d6fb33060b7205 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Wed, 31 Aug 2022 11:58:09 +0100 Subject: 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 Signed-off-by: sourabh_sourabh --- cps-application/src/main/resources/application.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cps-application') 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 -- cgit 1.2.3-korg