<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginmaster _class='hudson.plugins.git.util.Build'><buildNumber>112</buildNumber><marked><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><branch><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><name>refs/remotes/origin/master</name></branch></marked><revision><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><branch><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><name>refs/remotes/origin/master</name></branch></revision></refsremotesoriginmaster></buildsByBranchName><lastBuiltRevision><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><branch><SHA1>22131c0303514bb17881d4cbb222d0a065a4869a</SHA1><name>refs/remotes/origin/master</name></branch></lastBuiltRevision><remoteUrl>https://code-repo.d4science.org/lsmyrnaios/UrlsWorker.git</remoteUrl><scmName></scmName></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#112</displayName><duration>31370</duration><estimatedDuration>37165</estimatedDuration><fullDisplayName>UrlsWorker #112</fullDisplayName><id>112</id><keepLog>false</keepLog><number>112</number><queueId>64579</queueId><result>FAILURE</result><timestamp>1761828126007</timestamp><url>https://jenkins-dnet.d4science.org/job/UrlsWorker/112/</url><builtOn>ip-90-147-189-52.pa1.garrservices.it</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java</affectedPath><affectedPath>src/main/java/eu/openaire/urls_worker/components/SchedulerConfig.java</affectedPath><affectedPath>src/main/java/eu/openaire/urls_worker/UrlsWorkerApplication.java</affectedPath><commitId>22131c0303514bb17881d4cbb222d0a065a4869a</commitId><timestamp>1761828080000</timestamp><author><absoluteUrl>https://jenkins-dnet.d4science.org/user/lsmyrnaios</absoluteUrl><fullName>Lampros Smyrnaios</fullName></author><authorEmail>lsmyrnaios@di.uoa.gr</authorEmail><comment>- Overcome the issue where the app would not check if it should shut down for many hours, in case a large "Retry-After" time was given by the Controller, due to starvation of assignments. This was happening because Spring Boot uses a single scheduling thread by default and that thread would be in "sleep"-mode. Now it will use up to 3. So even if one thread is sleeping for multiple hours, the process of checking and performing a shutdown will still be performed. The app will automatically interrupt the sleeping thread upon shutdown.
- Improve handling of "InterruptedException" in scheduling-threads, when the app is about to shutdown.
</comment><date>2025-10-30 14:41:20 +0200</date><id>22131c0303514bb17881d4cbb222d0a065a4869a</id><msg>- Overcome the issue where the app would not check if it should shut down for many hours, in case a large "Retry-After" time was given by the Controller, due to starvation of assignments. This was happening because Spring Boot uses a single scheduling thread by default and that thread would be in "sleep"-mode. Now it will use up to 3. So even if one thread is sleeping for multiple hours, the process of checking and performing a shutdown will still be performed. The app will automatically interrupt the sleeping thread upon shutdown.</msg><path><editType>edit</editType><file>src/main/java/eu/openaire/urls_worker/components/ScheduledTasks.java</file></path><path><editType>add</editType><file>src/main/java/eu/openaire/urls_worker/components/SchedulerConfig.java</file></path><path><editType>edit</editType><file>src/main/java/eu/openaire/urls_worker/UrlsWorkerApplication.java</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins-dnet.d4science.org/user/lsmyrnaios</absoluteUrl><fullName>Lampros Smyrnaios</fullName></culprit></freeStyleBuild>