Skip to content

Commit

Permalink
Change environment variable too (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
inahga authored Feb 29, 2024
1 parent e6029ac commit a37f132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Config {
"TOKIO_CONSOLE_LISTEN_ADDRESS",
"127.0.0.1:6669".parse().unwrap(),
)?,
metrics_refresh_enabled: var_optional("ENABLE_METRICS_REFRESH", true)?,
metrics_refresh_enabled: var_optional("METRICS_REFRESH_ENABLED", true)?,
})
}

Expand Down

0 comments on commit a37f132

Please sign in to comment.