Changes

Summary

  1. Update the logic behind sending the "shutdownReport" to the Controller: (details)
Commit bb521cc493ca968de3899ca3e6e9efda233e64d5 by Lampros Smyrnaios
Update the logic behind sending the "shutdownReport" to the Controller:
- Make sure the Controller is being informed for the about-to-shut-down state of the worker, even if it is being shut-down without the use of the api.
- Send the report as late as possible, in order for the Controller to know the exact time the Worker was shutdown.
The file was modifiedsrc/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_worker/UrlsWorkerApplication.java (diff)