env_config: reduce api_auto_update_secs.
We're reducing this in formulae.brew.sh too.
This commit is contained in:
parent
933cf0bd78
commit
a5c4ce59ff
@ -41,7 +41,7 @@ module Homebrew
|
|||||||
description: "Check Homebrew's API for new formulae or cask data every " \
|
description: "Check Homebrew's API for new formulae or cask data every " \
|
||||||
"`HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update " \
|
"`HOMEBREW_API_AUTO_UPDATE_SECS` seconds. Alternatively, disable API auto-update " \
|
||||||
"checks entirely with HOMEBREW_NO_AUTO_UPDATE.",
|
"checks entirely with HOMEBREW_NO_AUTO_UPDATE.",
|
||||||
default: 1800,
|
default: 450,
|
||||||
},
|
},
|
||||||
HOMEBREW_AUTO_UPDATE_SECS: {
|
HOMEBREW_AUTO_UPDATE_SECS: {
|
||||||
description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \
|
description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \
|
||||||
|
|||||||
@ -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
|
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
|
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
|
## TERMINOLOGY
|
||||||
|
|
||||||
@ -1998,7 +1998,7 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
|
|||||||
- `HOMEBREW_API_AUTO_UPDATE_SECS`
|
- `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.
|
<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`
|
- `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`.
|
<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`.
|
||||||
|
|||||||
@ -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\.
|
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
|
.IP
|
||||||
\fIDefault:\fR \fB1800\fR\.
|
\fIDefault:\fR \fB450\fR\.
|
||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fBHOMEBREW_AUTO_UPDATE_SECS\fR
|
\fBHOMEBREW_AUTO_UPDATE_SECS\fR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user