Don't let Quartz check for updates.

Original commit: elastic/x-pack-elasticsearch@dd1e4c2577
This commit is contained in:
Martijn van Groningen 2014-11-20 11:32:54 +01:00
parent ca00e59911
commit 79b10f8c0d
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ public class AlertScheduler extends AbstractComponent {
// Can't start a scheduler that has been shutdown, so we need to re-create each time start() is invoked
Properties properties = new Properties();
properties.setProperty("org.quartz.threadPool.class", AlertQuartzThreadPool.class.getName());
properties.setProperty(StdSchedulerFactory.PROP_SCHED_SKIP_UPDATE_CHECK, "true");
SchedulerFactory schFactory = new StdSchedulerFactory(properties);
scheduler = schFactory.getScheduler();
scheduler.setJobFactory(new SimpleJobFactory());