This commit is contained in:
2026-02-06 12:07:15 -04:00
parent 7604406fdf
commit 117ee7b932

View File

@@ -594,9 +594,9 @@ fn full<T: Into<Bytes>>(chunk: T) -> BoxBody<Bytes, hyper::Error> {
.boxed() .boxed()
} }
fn parse_env(cfg: &Arc<Mutex<MyConfig>>) { fn parse_env(cfg: &Arc<Mutex<MyConfig>>) {
for (key, value) in std::env::vars() { //for (key, value) in std::env::vars() {
debug!("ENVIRONMENT {key}: {value}"); // debug!("ENVIRONMENT {key}: {value}");
} //}
let mut cfg_lock = cfg.lock().unwrap(); let mut cfg_lock = cfg.lock().unwrap();
if let Ok(value) = env::var("BAL_SERVER_DB_FILE") { if let Ok(value) = env::var("BAL_SERVER_DB_FILE") {
debug!("BAL_SERVER_DB_FILE: {}", value); debug!("BAL_SERVER_DB_FILE: {}", value);