diff --git a/server/src/garbage_collector.rs b/server/src/garbage_collector.rs index 9248ff2..a13b6f7 100644 --- a/server/src/garbage_collector.rs +++ b/server/src/garbage_collector.rs @@ -24,7 +24,7 @@ impl GarbageCollector { let file_name = entry.file_name(); let file_name = file_name.to_string_lossy(); if let Some(id) = file_name.strip_suffix(".toml") { - if let Ok(metadata) = Metadata::from_file(&format!("./data/{}.toml", id)).await { + if let Ok(metadata) = Metadata::from_file(&format!("{}/{}.toml", path, id)).await { metrics.bin_total.inc(); metrics .bin_data_size