Made the `ticker` engine the default engine.
Original commit: elastic/x-pack-elasticsearch@f528bd5b8a
This commit is contained in:
parent
02a1c84c72
commit
5c3d94076e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue