mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
reduce default for maximum_resolution_timeout to 15s (#1900)
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 <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
069afedf19
commit
3331364a65
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue