runningLate = j.schedDate <= delayedTime;
if (runningLate) {
delayedCount++;
}
if (__log.isDebugEnabled())
__log.debug("todo.enqueue job from db: " + j.jobId.trim() + " for " + j.schedDate + "(" + f.format(j.schedDate)+") "+(runningLate?" delayed=true":""));
enqueue(j);
}
if (delayedCount > 0) {
__log.warn("Dispatching jobs with more than "+(_warningDelay/60000)+" minutes delay. Either the server was down for some time or the job load is greater than available capacity");
}