From 74f746bdd5758e631c4c14b2e523b5615c7aa497 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Sun, 21 Jan 2024 15:24:14 +0100 Subject: [PATCH] Show fetch time for advisory databases --- src/advisories/helpers/db.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/advisories/helpers/db.rs b/src/advisories/helpers/db.rs index 08980cfb..5813e249 100644 --- a/src/advisories/helpers/db.rs +++ b/src/advisories/helpers/db.rs @@ -132,6 +132,7 @@ fn load_db(url: Url, root_db_path: PathBuf, fetch: Fetch) -> anyhow::Result { debug!("Fetching advisory database from '{db_url}'"); @@ -165,6 +166,11 @@ fn load_db(url: Url, root_db_path: PathBuf, fetch: Fetch) -> anyhow::Result