diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2024-03-08 12:50:53 +0000 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2024-03-14 14:02:12 +0000 |
commit | 6b0e6b3a95ceb566059351a9635e35e0c265ad1c (patch) | |
tree | ccf681dd2457a3a1848ebeda5fbe915c1c1ad646 /cps-application/src/main | |
parent | a927b20ce1a6d5792ed41e0a98eb475606e8f35a (diff) |
[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 <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-application/src/main')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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: |