delete torrent from queue session on the timeout is reached

This commit is contained in:
yggverse 2025-08-10 11:30:16 +03:00
parent 2d6b66221f
commit c74a420f1d

View file

@ -192,6 +192,9 @@ async fn main() -> Result<()> {
log::debug!(
"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;
}
log::debug!("torrent `{i}` preload completed.");