use of hudson.util.DoubleLaunchChecker in project hudson-2.x by hudson.
the class Trigger method init.
@Initializer(after = JOB_LOADED)
public static void init() {
new DoubleLaunchChecker().schedule();
// start all PeridocWorks
for (PeriodicWork p : PeriodicWork.all()) timer.scheduleAtFixedRate(p, p.getInitialDelay(), p.getRecurrencePeriod());
// start monitoring nodes, although there's no hurry.
timer.schedule(new SafeTimerTask() {
public void doRun() {
ComputerSet.initialize();
}
}, 1000 * 10);
}
Aggregations