From 7ba8623d99b832b6d0a8504b5aa4a24bee416336 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Aug 2025 06:59:00 +0300 Subject: [PATCH] dump hashes total on fetch api --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9c355cc..7ef06b7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,7 +80,10 @@ async fn main() -> Result<()> { // grab latest info-hashes from this source // * aquatic server may update the stats at this moment, handle result manually for i in match api::get(source, config.index_capacity) { - Some(i) => i, + Some(i) => { + log::debug!("fetch `{}` hashes from `{source}`...", i.len()); + i + } None => { // skip without panic log::warn!(