mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
rename argument option
This commit is contained in:
parent
222938e688
commit
5a3283dd83
2 changed files with 9 additions and 6 deletions
|
|
@ -201,8 +201,11 @@ async fn main() -> Result<()> {
|
|||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?; // * do not collect billions of slow torrents in the session pool
|
||||
if let Some(slow_torrent_ban) = config.slow_torrent_ban {
|
||||
let t = Local::now() + Duration::from_secs(slow_torrent_ban);
|
||||
if let Some(wait_until_completed_ban) =
|
||||
config.wait_until_completed_ban
|
||||
{
|
||||
let t = Local::now()
|
||||
+ Duration::from_secs(wait_until_completed_ban);
|
||||
log::debug!(
|
||||
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {t}."
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue