mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
increase default timeouts
This commit is contained in:
parent
b0d3db5a2a
commit
2d6b66221f
1 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ pub struct Config {
|
|||
pub index_capacity: usize,
|
||||
|
||||
/// Max time to handle each torrent
|
||||
#[arg(long, default_value_t = 10)]
|
||||
#[arg(long, default_value_t = 60)]
|
||||
pub add_torrent_timeout: u64,
|
||||
|
||||
/// Crawl loop delay in seconds
|
||||
|
|
@ -123,6 +123,6 @@ pub struct Config {
|
|||
|
||||
/// Skip long-thinking connections,
|
||||
/// try to handle the other hashes in this queue after `n` seconds
|
||||
#[arg(long, default_value_t = 10)]
|
||||
#[arg(long, default_value_t = 60)]
|
||||
pub wait_until_completed: u64,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue