mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 09:35:37 +00:00
require sleep timer value
This commit is contained in:
parent
d1e93638d9
commit
c44acbb50c
2 changed files with 5 additions and 7 deletions
|
|
@ -99,8 +99,8 @@ pub struct Config {
|
|||
pub add_torrent_timeout: u64,
|
||||
|
||||
/// Crawl loop delay in seconds
|
||||
#[arg(long)]
|
||||
pub sleep: Option<u64>,
|
||||
#[arg(long, default_value_t = 900)]
|
||||
pub sleep: u64,
|
||||
|
||||
/// Ban unresolvable info-hashes for `n` seconds
|
||||
#[arg(long, default_value_t = 3600)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue