Skip to content

Commit

Permalink
Closes #2375 - fix description of initial start delay
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzheboka committed Sep 12, 2023
1 parent 948fe21 commit fb32b99
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/taskana-cdi/src/test/resources/taskana.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/taskana-core-test/src/test/resources/taskana.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public static class Builder {
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;
Expand Down
4 changes: 2 additions & 2 deletions lib/taskana-core/src/test/resources/taskana.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/taskana-test-api/src/test/resources/taskana.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb32b99

Please sign in to comment.