🎨 decrease timeout for scheduling (#7556)

refs #7555
- temporary fix to make travis green
- that should not have a any bad effect on scheduling
- we just let the job awake a bit later
- the job logic is strong enough to catch the job if setTimeout awakes too late (that can happen, because setTimeout is not accurate)
- if (moment().diff(moment(Number(timestamp))) <= self.beforePingInMs) --> is smaller ensures that even if the diff is negative, it get's executed
This commit is contained in:
Katharina Irrgang 2016-10-13 10:49:10 +02:00 committed by Hannah Wolfe
parent 869a35c97d
commit 48c01162a3

View File

@ -170,7 +170,7 @@ SchedulingDefault.prototype._execute = function (jobs) {
});
});
})();
}, diff - 200);
}, diff - 70);
});
};