mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 01:25:36 +00:00
implement preload_total_size argument
This commit is contained in:
parent
cb377425a7
commit
c206a06c25
3 changed files with 22 additions and 10 deletions
|
|
@ -63,6 +63,10 @@ pub struct Argument {
|
|||
#[arg(long)]
|
||||
pub preload_regex: Option<String>,
|
||||
|
||||
/// Stop crawler on total preload files size reached
|
||||
#[arg(long)]
|
||||
pub preload_total_size: Option<u64>,
|
||||
|
||||
/// Max size sum of preloaded files per torrent (match `preload_regex`)
|
||||
#[arg(long)]
|
||||
pub preload_max_filesize: Option<u64>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue