fixups after deployment

This commit is contained in:
Chris Beck
2025-12-06 21:03:48 -07:00
parent 0cca1f8da3
commit 0bc1329fcf
3 changed files with 21 additions and 10 deletions
+2 -2
View File
@@ -15,10 +15,10 @@ use std::time::Duration;
#[conf(serde)]
pub struct AdminHttpConfig {
/// URL to POST admin commands to
#[conf(long, env)]
#[conf(long, env = "ADMIN_HTTP_URL")]
pub url: String,
/// Timeout for the HTTP request
#[conf(long, env, default_value = "5s", value_parser = conf_extra::parse_duration)]
#[conf(long, env = "ADMIN_HTTP_TIMEOUT", default_value = "5s", value_parser = conf_extra::parse_duration)]
pub timeout: Duration,
}