Made the `ticker` engine the default engine.

Original commit: elastic/x-pack-elasticsearch@f528bd5b8a
This commit is contained in:
Martijn van Groningen 2015-04-29 20:11:38 +02:00
parent 02a1c84c72
commit 5c3d94076e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class ScheduleModule extends AbstractModule {
protected abstract Class<? extends TriggerEngine> 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;