mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
delete torrent from queue session on the timeout is reached
This commit is contained in:
parent
2d6b66221f
commit
c74a420f1d
1 changed files with 3 additions and 0 deletions
|
|
@ -192,6 +192,9 @@ async fn main() -> Result<()> {
|
||||||
log::debug!(
|
log::debug!(
|
||||||
"skip awaiting the completion of preload `{i}` data (`{e}`)"
|
"skip awaiting the completion of preload `{i}` data (`{e}`)"
|
||||||
);
|
);
|
||||||
|
session
|
||||||
|
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||||
|
.await?; // managed torrent is not managed in this queue anymore
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
log::debug!("torrent `{i}` preload completed.");
|
log::debug!("torrent `{i}` preload completed.");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue