3 hour restart timer
This commit is contained in:
parent
63123f6e74
commit
187e008bdc
2
main.js
2
main.js
|
@ -7,7 +7,7 @@ const config = JSON.parse(fs.readFileSync("config.json"));
|
||||||
|
|
||||||
const updateInterval = 5000;
|
const updateInterval = 5000;
|
||||||
const retryInterval = 30000;
|
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 rp;
|
||||||
let startTime = Date.now();
|
let startTime = Date.now();
|
||||||
|
|
Loading…
Reference in New Issue