Skip to content

Commit

Permalink
Start DynamicConfigurationManager directly after construction
Browse files Browse the repository at this point in the history
  • Loading branch information
eager-signal committed Feb 13, 2024
1 parent 699b0c7 commit 86787f3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public void run(WhisperServerConfiguration config, Environment environment) thro
config.getAppConfig().getEnvironment(),
config.getAppConfig().getConfigurationName(),
DynamicConfiguration.class);
dynamicConfigurationManager.start();

MetricsUtil.configureRegistries(config, environment, dynamicConfigurationManager);

Expand Down Expand Up @@ -528,8 +529,6 @@ public void run(WhisperServerConfiguration config, Environment environment) thro
ExternalServiceCredentialsGenerator svr3CredentialsGenerator = SecureValueRecovery3Controller.credentialsGenerator(
config.getSvr3Configuration());

dynamicConfigurationManager.start();

ExperimentEnrollmentManager experimentEnrollmentManager = new ExperimentEnrollmentManager(
dynamicConfigurationManager);
RegistrationRecoveryPasswordsManager registrationRecoveryPasswordsManager = new RegistrationRecoveryPasswordsManager(
Expand Down

0 comments on commit 86787f3

Please sign in to comment.