mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
add comments
This commit is contained in:
parent
6285b850ce
commit
8a9c928b98
2 changed files with 12 additions and 8 deletions
|
|
@ -181,7 +181,7 @@ async fn main() -> Result<()> {
|
|||
);
|
||||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?;
|
||||
.await?; // * do not collect billions of slow torrents in the session pool
|
||||
continue;
|
||||
}
|
||||
log::debug!("torrent `{i}` preload completed.");
|
||||
|
|
@ -194,7 +194,7 @@ async fn main() -> Result<()> {
|
|||
preload.commit(&i, bytes, Some(keep_files))?;
|
||||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.await?;
|
||||
.await?; // torrent data was moved on commit; there's no sense in keeping it
|
||||
log::debug!("torrent `{i}` resolved.")
|
||||
}
|
||||
Ok(_) => panic!(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue