Start DynamicConfigurationManager directly after construction
This commit is contained in:
parent
699b0c775a
commit
86787f3bc8
|
@ -317,6 +317,7 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
|
||||||
config.getAppConfig().getEnvironment(),
|
config.getAppConfig().getEnvironment(),
|
||||||
config.getAppConfig().getConfigurationName(),
|
config.getAppConfig().getConfigurationName(),
|
||||||
DynamicConfiguration.class);
|
DynamicConfiguration.class);
|
||||||
|
dynamicConfigurationManager.start();
|
||||||
|
|
||||||
MetricsUtil.configureRegistries(config, environment, dynamicConfigurationManager);
|
MetricsUtil.configureRegistries(config, environment, dynamicConfigurationManager);
|
||||||
|
|
||||||
|
@ -528,8 +529,6 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
|
||||||
ExternalServiceCredentialsGenerator svr3CredentialsGenerator = SecureValueRecovery3Controller.credentialsGenerator(
|
ExternalServiceCredentialsGenerator svr3CredentialsGenerator = SecureValueRecovery3Controller.credentialsGenerator(
|
||||||
config.getSvr3Configuration());
|
config.getSvr3Configuration());
|
||||||
|
|
||||||
dynamicConfigurationManager.start();
|
|
||||||
|
|
||||||
ExperimentEnrollmentManager experimentEnrollmentManager = new ExperimentEnrollmentManager(
|
ExperimentEnrollmentManager experimentEnrollmentManager = new ExperimentEnrollmentManager(
|
||||||
dynamicConfigurationManager);
|
dynamicConfigurationManager);
|
||||||
RegistrationRecoveryPasswordsManager registrationRecoveryPasswordsManager = new RegistrationRecoveryPasswordsManager(
|
RegistrationRecoveryPasswordsManager registrationRecoveryPasswordsManager = new RegistrationRecoveryPasswordsManager(
|
||||||
|
|
Loading…
Reference in New Issue