mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
fix(bin): Update OCR update interval default value
This commit is contained in:
parent
95b77e2b48
commit
a91fec38ef
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,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) || 60) * 60 * 1000;
|
||||
(parseInt(process.env.OCR_UPDATE_INTERVAL, 10) || 30) * 60 * 1000;
|
||||
|
||||
let shouldCheck = true;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue