Closes #2375 - fix description of initial start delay
This commit is contained in:
parent
18c34d1dfd
commit
8460f1d5d7
|
@ -29,11 +29,11 @@ taskana.workingTime.timezone=UTC
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -5,11 +5,11 @@ taskana.classification.categories.T1=DEFAULT
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=true
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=1
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -115,7 +115,7 @@ class TaskanaConfigurationTest {
|
|||
assertThat(configuration.getLogHistoryLoggerName()).isNull();
|
||||
// job configuration
|
||||
assertThat(configuration.isJobSchedulerEnabled()).isTrue();
|
||||
assertThat(configuration.getJobSchedulerInitialStartDelay()).isEqualTo(100);
|
||||
assertThat(configuration.getJobSchedulerInitialStartDelay()).isEqualTo(0);
|
||||
assertThat(configuration.getJobSchedulerPeriod()).isEqualTo(5);
|
||||
assertThat(configuration.getJobSchedulerPeriodTimeUnit()).isEqualTo(TimeUnit.MINUTES);
|
||||
assertThat(configuration.getMaxNumberOfJobRetries()).isEqualTo(3);
|
||||
|
|
|
@ -22,11 +22,11 @@ taskana.query.includeLongName=false
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=true
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100000
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=false
|
||||
|
|
|
@ -694,7 +694,7 @@ public class TaskanaConfiguration {
|
|||
private boolean jobSchedulerEnabled = true;
|
||||
|
||||
@TaskanaProperty("taskana.jobs.scheduler.initialStartDelay")
|
||||
private long jobSchedulerInitialStartDelay = 100;
|
||||
private long jobSchedulerInitialStartDelay = 0;
|
||||
|
||||
@TaskanaProperty("taskana.jobs.scheduler.period")
|
||||
private long jobSchedulerPeriod = 5;
|
||||
|
|
|
@ -28,11 +28,11 @@ taskana.workingTime.timezone=UTC
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=true
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100000
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=false
|
||||
|
|
|
@ -19,11 +19,11 @@ taskana.jobs.history.cleanup.runEvery=P1D
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100000
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=false
|
||||
|
|
|
@ -21,11 +21,11 @@ taskana.query.includeLongName=false
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100000
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=false
|
||||
|
|
|
@ -21,11 +21,11 @@ taskana.query.includeLongName=false
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100000
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=false
|
||||
|
|
|
@ -26,11 +26,11 @@ taskana.routing.dmn=/dmn-table.dmn
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -17,11 +17,11 @@ taskana.workingTime.holidays.german.enabled=true
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -22,11 +22,11 @@ taskana.history.logger.name=AUDIT
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=true
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -19,11 +19,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -18,11 +18,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -18,11 +18,11 @@ taskana.history.simple.deleteOnTaskDeletion.enabled=true
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
|
@ -24,11 +24,11 @@ taskana.routing.dmn=/empty.dmn
|
|||
# enable or disable the jobscheduler at all
|
||||
# set it to false and no jobs are running
|
||||
taskana.jobs.scheduler.enabled=false
|
||||
# wait time before the first job run in millis
|
||||
# wait time before the first job run
|
||||
taskana.jobs.scheduler.initialStartDelay=100
|
||||
# sleeping time befor the next job runs
|
||||
taskana.jobs.scheduler.period=12
|
||||
# timeunit for the sleeping period
|
||||
# timeunit for the initial start delay and the sleeping period
|
||||
# Possible values: MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS
|
||||
taskana.jobs.scheduler.periodTimeUnit=HOURS
|
||||
taskana.jobs.cleanup.task.enable=true
|
||||
|
|
Loading…
Reference in New Issue