mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
fix duration value
This commit is contained in:
parent
7eabd23a03
commit
b45d1de0b9
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ async fn main() -> Result<()> {
|
||||||
}
|
}
|
||||||
Ok(_) => panic!(),
|
Ok(_) => panic!(),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
let t = Local::now() + Duration::from_secs(config.add_torrent_ban);
|
let t = Local::now() + Duration::from_secs(config.resolve_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())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue