Skip to content

Commit

Permalink
Fix deadlock when loading global configuration on startup (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog authored Sep 18, 2024
1 parent 0bac4ae commit f8d01f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public DatadogGlobalConfiguration() {
loadEnvVariables(); // Load environment variables after as they should take precedence.
}

@Initializer(after = InitMilestone.PLUGINS_STARTED)
@Initializer(after = InitMilestone.SYSTEM_CONFIG_LOADED)
public void onStartup() {
try {
ClientHolder.setClient(createClient());
Expand Down

0 comments on commit f8d01f9

Please sign in to comment.