chore: log instrumenting

feat/type-attributes
Tomáš Mládek 2022-10-23 13:46:06 +02:00
parent 5c5d9d0f04
commit 74d35e4065
2 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,7 @@ impl FsStore {
Ok(FsStore { path, pool, lock })
}
#[tracing::instrument(name="FS store rescan", skip_all)]
fn rescan_vault<D: Borrow<UpEndDatabase>>(
&self,
db: D,

View File

@ -59,7 +59,7 @@ pub trait Extractor {
}
}
#[tracing::instrument(skip_all)]
#[tracing::instrument(name="Extract all metadata", skip_all)]
pub fn extract_all<D: Borrow<UpEndDatabase>>(
db: D,
store: Arc<Box<dyn UpStore + Send + Sync>>,