mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
chore: reduce default update check interval from 30 to 18 minutes
This commit is contained in:
parent
b196ee053c
commit
bb0cf901ed
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ if (!process.env.OCR_NO_UPDATE) {
|
|||
const stateDir = path.join(os.homedir(), ".opencodereview");
|
||||
const tsFile = path.join(stateDir, "last-update-check");
|
||||
const cooldownMs =
|
||||
(parseInt(process.env.OCR_UPDATE_INTERVAL, 10) || 30) * 60 * 1000;
|
||||
(parseInt(process.env.OCR_UPDATE_INTERVAL, 10) || 18) * 60 * 1000;
|
||||
|
||||
let shouldCheck = true;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue