From 5c3d94076e1cdf41ea6f1f4e8b0e63b180b0bc6b Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Wed, 29 Apr 2015 20:11:38 +0200 Subject: [PATCH] Made the `ticker` engine the default engine. Original commit: elastic/x-pack-elasticsearch@f528bd5b8a7731644ae2143b6c0c5deffb11b1a9 --- .../elasticsearch/watcher/trigger/schedule/ScheduleModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleModule.java b/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleModule.java index fc8d95d7cc1..0220b2b5283 100644 --- a/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleModule.java +++ b/src/main/java/org/elasticsearch/watcher/trigger/schedule/ScheduleModule.java @@ -75,7 +75,7 @@ public class ScheduleModule extends AbstractModule { protected abstract Class engineType(); public static Engine resolve(Settings settings) { - String engine = settings.getComponentSettings(ScheduleModule.class).get("engine", "scheduler"); + String engine = settings.getComponentSettings(ScheduleModule.class).get("engine", "ticker"); switch (engine.toLowerCase(Locale.ROOT)) { case "ticker" : return TICKER; case "scheduler" : return SCHEDULER;