|
@@ -44,16 +44,11 @@ public class SettingsProvider implements Supplier<Settings> {
|
|
private final Supplier<Settings> settings = Suppliers.memoize(this::load);
|
|
private final Supplier<Settings> settings = Suppliers.memoize(this::load);
|
|
private final Environment env;
|
|
private final Environment env;
|
|
private final ScheduledExecutorService scheduler;
|
|
private final ScheduledExecutorService scheduler;
|
|
-
|
|
|
|
|
|
|
|
@Inject
|
|
@Inject
|
|
public SettingsProvider(Environment env, ScheduledExecutorService scheduler) {
|
|
public SettingsProvider(Environment env, ScheduledExecutorService scheduler) {
|
|
this.env = env;
|
|
this.env = env;
|
|
this.scheduler = scheduler;
|
|
this.scheduler = scheduler;
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|