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:
Jiahao XU 2024-08-29 22:45:33 +10:00 committed by GitHub
parent 069afedf19
commit 3331364a65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,