3 hour restart timer

This commit is contained in:
Wizzard 2023-08-08 18:53:31 -04:00
parent 63123f6e74
commit 187e008bdc
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const config = JSON.parse(fs.readFileSync("config.json"));
const updateInterval = 5000;
const retryInterval = 30000;
const maxUptime = 6 * 60 * 60 * 1000; // Maximum uptime before restart (6 hours)
const maxUptime = 3 * 60 * 60 * 1000; // Maximum uptime before restart (3 hours)
let rp;
let startTime = Date.now();