From 3331364a65ebd47916a640e6154b6df8848210a8 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Thu, 29 Aug 2024 22:45:33 +1000 Subject: [PATCH] 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> --- crates/bin/src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bin/src/args.rs b/crates/bin/src/args.rs index 9c460013..845e734f 100644 --- a/crates/bin/src/args.rs +++ b/crates/bin/src/args.rs @@ -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,