watcher: removed calibrating with round clock in ticker trigger engine
Closes elastic/elasticsearch#749 Original commit: elastic/x-pack-elasticsearch@f9f2db50d5
This commit is contained in:
parent
98095a5ca8
commit
56981b5fff
|
@ -36,6 +36,12 @@ bin/plugin remove watcher
|
|||
[[change-list]]
|
||||
=== Change List
|
||||
|
||||
[float]
|
||||
==== 2.0.0
|
||||
|
||||
.Bug fixes
|
||||
* Fixed an issue where the scheduler may get stuck during Watcher startup. This caused no watches to ever fire.
|
||||
|
||||
[float]
|
||||
==== 2.0.0-rc1
|
||||
|
||||
|
|
|
@ -136,10 +136,6 @@ public class TickerScheduleTriggerEngine extends ScheduleTriggerEngine {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
// calibrate with round clock
|
||||
while (clock.millis() % 1000 > 15) {
|
||||
}
|
||||
while (active) {
|
||||
logger.trace("checking jobs [{}]", clock.nowUTC());
|
||||
checkJobs();
|
||||
|
|
Loading…
Reference in New Issue