Browse Source

Merge pull request #232 in CORE/base-third from ~LANLAN/base-third:release/10.0 to release/10.0

* commit '978eccd5be67e6579db47fddeddba7f94094cf02':
  DEC-8173 脏数据导致quartz启动失败
bugfix/10.0
ju 6 years ago
parent
commit
aa96c0380e
  1. 5
      fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

5
fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

@ -982,7 +982,7 @@ public abstract class JobStoreSupport implements JobStore, Constants {
}
for (TriggerKey triggerKey : misfiredTriggers) {
try {
OperableTrigger trig =
retrieveTrigger(conn, triggerKey);
@ -994,6 +994,9 @@ public abstract class JobStoreSupport implements JobStore, Constants {
if (trig.getNextFireTime() != null && trig.getNextFireTime().getTime() < earliestNewTime)
earliestNewTime = trig.getNextFireTime().getTime();
} catch (JobPersistenceException e) {
getLog().error(e.getMessage());
}
}
return new RecoverMisfiredJobsResult(

Loading…
Cancel
Save