env_config: reduce api_auto_update_secs.

We're reducing this in formulae.brew.sh too.
This commit is contained in:
Mike McQuaid 2023-02-15 17:17:51 +00:00
parent 933cf0bd78
commit a5c4ce59ff
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ module Homebrew
description: "Check Homebrew's API for new formulae or cask data every " \
"`HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update " \
"checks entirely with HOMEBREW_NO_AUTO_UPDATE.",
default: 1800,
default: 450,
},
HOMEBREW_AUTO_UPDATE_SECS: {
description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \

View File

@ -10,7 +10,7 @@ brew(1) -- The Missing Package Manager for macOS (or Linux)
Homebrew is the easiest and most flexible way to install the UNIX tools Apple
didn't include with macOS. It can also install software not packaged for your
Linux distribution without requiring `sudo`.
Linux distribution to your home directory without requiring `sudo`.
## TERMINOLOGY
@ -1998,7 +1998,7 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
- `HOMEBREW_API_AUTO_UPDATE_SECS`
<br>Check Homebrew's API for new formulae or cask data every `HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update checks entirely with HOMEBREW_NO_AUTO_UPDATE.
*Default:* `1800`.
*Default:* `450`.
- `HOMEBREW_AUTO_UPDATE_SECS`
<br>Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, disable auto-update entirely with `HOMEBREW_NO_AUTO_UPDATE`.

View File

@ -2855,7 +2855,7 @@ Prefix all download URLs, including those for bottles, with this value\. For exa
Check Homebrew\'s API for new formulae or cask data every \fBHOMEBREW_API_AUTO_UPDATE_SECS\fR seconds\. Alternatively, disable API auto\-update checks entirely with HOMEBREW_NO_AUTO_UPDATE\.
.
.IP
\fIDefault:\fR \fB1800\fR\.
\fIDefault:\fR \fB450\fR\.
.
.TP
\fBHOMEBREW_AUTO_UPDATE_SECS\fR