From 6b0e6b3a95ceb566059351a9635e35e0c265ad1c Mon Sep 17 00:00:00 2001 From: mpriyank Date: Fri, 8 Mar 2024 12:50:53 +0000 Subject: [Bug] Removing inner TaskExecutor to call DMI - Removing TaskExecutor from cps-ncmp-service package as anyways the call coming over from the cps-ncmp-rest layer is managed by a different thread executor(CpsNcmpTaskExecutor) - Provided 60secs timeout value. - Spawning new thread from a different executor might not be needed - Removing @Async from a non spring managed method as its of no use Issue-ID: CPS-2150 Change-Id: Ic99632983aff2c40df81421d782cf98ec600fc41 Signed-off-by: mpriyank --- cps-application/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-application/src/main/resources') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 9f03fc2708..d742483510 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -124,7 +124,7 @@ notification: queue-capacity: 500 wait-for-tasks-to-complete-on-shutdown: true thread-name-prefix: Async- - time-out-value-in-ms: 2000 + time-out-value-in-ms: 60000 springdoc: swagger-ui: -- cgit 1.2.3-korg