From c74a420f1d16a30613ed6bd01e307098bc13d8e2 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Aug 2025 11:30:16 +0300 Subject: [PATCH] delete torrent from queue session on the timeout is reached --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 85b14fd..d55e449 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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.");