implement processed torrents index, skip info-hashes processed, remove torrent from session on download complete

This commit is contained in:
yggverse 2025-06-15 01:59:20 +03:00
parent 9b6491a666
commit 307a935d7f
3 changed files with 30 additions and 24 deletions

View file

@ -66,6 +66,10 @@ pub struct Argument {
#[arg(long)]
pub socks_proxy_url: Option<String>,
/// Estimated info-hash index capacity
#[arg(long, default_value_t = 1000)]
pub index_capacity: usize,
/// Crawl loop delay in seconds
#[arg(short, default_value_t = 300)]
pub sleep: u64,