mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 01:25:36 +00:00
implement torrent files index option
This commit is contained in:
parent
d0d469ee78
commit
29ff0b52cc
5 changed files with 95 additions and 25 deletions
|
|
@ -117,6 +117,10 @@ pub struct Config {
|
|||
#[arg(long, default_value_t = 1000)]
|
||||
pub index_capacity: usize,
|
||||
|
||||
/// Index torrent files
|
||||
#[arg(long, default_value_t = false)]
|
||||
pub index_list: bool,
|
||||
|
||||
/// Remove records from index older than `seconds`
|
||||
#[arg(long)]
|
||||
pub index_timeout: Option<i64>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue