mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
7fef42c6c8
Some users reported the scheduler to be run to earlier. It actual is known the Java scheduler can drift. To handle this problem 2 changes have been made: 1. If the scheduler triggers > 2 sec before expected end time it will reschedule. 2. The scheduler keeps track of the timestamp the job should run. For recurring schedulers, like cron, when the next job is run it offsets of the calculated time, and not the actual time. This guaranties that the next scheduled time is actual the next scheduled time and not the same end time in case the scheduler would trigger to early. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl> |
||
---|---|---|
.. | ||
src | ||
.classpath | ||
.project | ||
NOTICE | ||
pom.xml |