gc fix
This commit is contained in:
parent
2a53b1fd8e
commit
2b41571da0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue