mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 16:09:41 +00:00
fix: use async walkdir (#3193)
This commit is contained in:
@@ -166,7 +166,7 @@ impl Metrics for Querier {
|
||||
};
|
||||
|
||||
let pattern = format!("{wal_dir}/files/{org_id}/metrics/{stream_name}/");
|
||||
let files = scan_files(&pattern, "parquet");
|
||||
let files = scan_files(&pattern, "parquet").await;
|
||||
|
||||
if arrow_files.is_empty() && files.is_empty() {
|
||||
return Ok(Response::new(resp));
|
||||
|
||||
Reference in New Issue
Block a user