adjust rerun interval

This commit is contained in:
geekgeekrun
2026-05-02 22:21:48 +08:00
parent 432ac9c298
commit 9d3408d1f3
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import { AUTO_CHAT_ERROR_EXIT_CODE } from './enums.mjs'
const rerunInterval = (() => {
let v = Number(process.env.MAIN_BOSSGEEKGO_RERUN_INTERVAL)
if (isNaN(v)) {
v = 3000
v = 5000
}
return v

View File

@@ -22,7 +22,7 @@ const {
const rerunInterval = (() => {
let v = Number(process.env.MAIN_BOSSGEEKGO_RERUN_INTERVAL)
if (isNaN(v)) {
v = 3000
v = 5000
}
return v

View File

@@ -30,7 +30,7 @@ process.on('SIGTERM', () => {
const rerunInterval = (() => {
let v = Number(process.env.MAIN_BOSSGEEKGO_RERUN_INTERVAL)
if (isNaN(v)) {
v = 3000
v = 5000
}
return v

View File

@@ -683,7 +683,7 @@ const mainLoop = async () => {
const rerunInterval = (() => {
let v = Number(process.env.MAIN_BOSSGEEKGO_RERUN_INTERVAL)
if (isNaN(v)) {
v = 3000
v = 5000
}
return v