Skip to content

Commit

Permalink
new: increased default timeout and decreased default retries to addre…
Browse files Browse the repository at this point in the history
…ss cases like #20
  • Loading branch information
evilsocket committed Nov 15, 2023
1 parent 26539c9 commit a1bb54f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ pub(crate) struct Options {
#[clap(long, value_enum, default_value_t = session::loot::OutputFormat::Text)]
pub output_format: session::loot::OutputFormat,
/// Connection timeout in milliseconds.
#[clap(long, default_value_t = 1000)]
#[clap(long, default_value_t = 10000)]
pub timeout: u64,
/// Number of attempts if a request fails.
#[clap(long, default_value_t = 10)]
#[clap(long, default_value_t = 5)]
pub retries: usize,
/// Delay in milliseconds to wait before a retry.
#[clap(long, default_value_t = 1000)]
Expand Down

0 comments on commit a1bb54f

Please sign in to comment.