dump hashes total on fetch api

This commit is contained in:
yggverse 2025-08-10 06:59:00 +03:00
parent 67c290716b
commit 7ba8623d99

View file

@ -80,7 +80,10 @@ async fn main() -> Result<()> {
// grab latest info-hashes from this source // grab latest info-hashes from this source
// * aquatic server may update the stats at this moment, handle result manually // * aquatic server may update the stats at this moment, handle result manually
for i in match api::get(source, config.index_capacity) { 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 => { None => {
// skip without panic // skip without panic
log::warn!( log::warn!(