Robustness issue 26/85026/2
authorPatrikBuhr <patrik.buhr@est.tech>
Thu, 11 Apr 2019 15:36:48 +0000 (15:36 +0000)
committerPatrikBuhr <patrik.buhr@est.tech>
Thu, 11 Apr 2019 15:36:48 +0000 (15:36 +0000)
commit77793c7a822e8bb7771bfb0cf9db2ce4dce865d4
tree4d85053c31d5e1562bd22b40c05d26d6420fb713
parent314a1e4310545e5b70ff64e328f3e7eae281c5b4
Robustness issue

Limiting the number of paralell threads when
retying of ftp or publish.
Previously there was no upper limit on how many paralel
threads that could be started by retry attempts.
For instance, a worker thread with 100 new files
would start 100 new threads when the ftt server
was unavailable.

Change-Id: Ia8792f03ea55c0c467ef248ddc9d59187c06a946
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/service/PublishedFileCache.java
datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasks.java
datafile-app-server/src/test/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasksTest.java