REPO-4065:Service Pack: MNT-20097 taggingStartupTrigger and downloadCleanerSchedulerAccessor jobs are missconfigured

This commit is contained in:
Andrei Rebegea
2018-11-22 12:30:29 +02:00
parent 5bd00f1eb6
commit 14446f2125
3 changed files with 4 additions and 3 deletions

View File

@@ -121,7 +121,7 @@
<property name="triggers">
<list>
<bean id="downloadCleanerTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="repeatInterval" value="${download.cleaner.repeatIntervalSeconds}"/>
<property name="repeatInterval" value="${download.cleaner.repeatIntervalMilliseconds}"/>
<property name="startDelay" value="${download.cleaner.startDelayMilliseconds}"/>
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.JobDetailFactoryBean">

View File

@@ -953,7 +953,8 @@ ticket.cleanup.cronExpression=0 0 * * * ?
# Download Service Cleanup
#
download.cleaner.startDelayMilliseconds=3600000
download.cleaner.repeatIntervalSeconds=3600
# 1 hour
download.cleaner.repeatIntervalMilliseconds=3600000
download.cleaner.maxAgeMins=60
#

View File

@@ -133,7 +133,7 @@
<!-- Tagging Service Scope Updates -->
<!-- (Catches any updates queued but not executed around repo shutdown -->
<bean id="taggingStartupTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="repeatInterval" value="3600"/> <!-- 60 minutes -->
<property name="repeatInterval" value="3600000"/> <!-- 60 minutes -->
<property name="startDelay" value="120"/>
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.JobDetailFactoryBean">