mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 09:05:33 +00:00
dump hashes total on fetch api
This commit is contained in:
parent
67c290716b
commit
7ba8623d99
1 changed files with 4 additions and 1 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue