ignore misfires in quartz
This commit is contained in:
parent
2be9e89727
commit
15c74a46bc
|
@ -184,6 +184,7 @@ public abstract class BaseHapiScheduler implements IHapiScheduler {
|
|||
ScheduleBuilder<? extends Trigger> schedule = SimpleScheduleBuilder
|
||||
.simpleSchedule()
|
||||
.withIntervalInMilliseconds(theIntervalMillis)
|
||||
.withMisfireHandlingInstructionIgnoreMisfires()//We ignore misfires in cases of multiple JVMs each trying to fire.
|
||||
.repeatForever();
|
||||
|
||||
Trigger trigger = TriggerBuilder.newTrigger()
|
||||
|
|
Loading…
Reference in New Issue