mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-01 17:45:39 +00:00
implement wait_until_completed timeout
This commit is contained in:
parent
7ba8623d99
commit
d7a540f560
2 changed files with 16 additions and 1 deletions
|
|
@ -120,4 +120,9 @@ pub struct Config {
|
|||
/// Limit download speed (b/s)
|
||||
#[arg(long)]
|
||||
pub download_limit: Option<u32>,
|
||||
|
||||
/// Skip long-thinking connections,
|
||||
/// try to handle the other hashes in this queue after `n` seconds
|
||||
#[arg(long, default_value_t = 10)]
|
||||
pub wait_until_completed: u64,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue