mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update fmt
This commit is contained in:
parent
5a3283dd83
commit
3e68048856
1 changed files with 4 additions and 4 deletions
|
|
@ -209,11 +209,11 @@ async fn main() -> Result<()> {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {t}."
|
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {t}."
|
||||||
);
|
);
|
||||||
assert!(ban.insert(i, t).is_none());
|
assert!(ban.insert(i, t).is_none())
|
||||||
} else {
|
} else {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"skip awaiting the completion of preload `{h}` data (`{e}`)"
|
"skip awaiting the completion of preload `{h}` data (`{e}`)"
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
@ -234,7 +234,7 @@ async fn main() -> Result<()> {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
let t = Local::now() + Duration::from_secs(config.add_torrent_ban);
|
let t = Local::now() + Duration::from_secs(config.add_torrent_ban);
|
||||||
log::debug!("failed to resolve torrent `{h}`: `{e}`, ban until {t}.");
|
log::debug!("failed to resolve torrent `{h}`: `{e}`, ban until {t}.");
|
||||||
assert!(ban.insert(i, t).is_none());
|
assert!(ban.insert(i, t).is_none())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
@ -242,7 +242,7 @@ async fn main() -> Result<()> {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {t}."
|
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {t}."
|
||||||
);
|
);
|
||||||
assert!(ban.insert(i, t).is_none());
|
assert!(ban.insert(i, t).is_none())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue