Skip to content

Commit

Permalink
reduce default for maximum_resolution_timeout to 15s (#1900)
Browse files Browse the repository at this point in the history
If then default is too long, then users would still have to wait a long time if they hit rate limit.

Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu authored Aug 29, 2024
1 parent 069afed commit 3331364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bin/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub struct Args {
help_heading = "Overrides",
long,
env = "BINSTALL_MAXIMUM_RESOLUTION_TIMEOUT",
default_value_t = NonZeroU16::new(180).unwrap(),
default_value_t = NonZeroU16::new(15).unwrap(),
)]
pub(crate) maximum_resolution_timeout: NonZeroU16,

Expand Down

0 comments on commit 3331364

Please sign in to comment.