Adjust updateInterval
This commit is contained in:
parent
7f83c0f97b
commit
7b0c62755d
2
main.js
2
main.js
|
@ -5,7 +5,7 @@ const fs = require("fs");
|
||||||
|
|
||||||
const config = JSON.parse(fs.readFileSync("config.json"));
|
const config = JSON.parse(fs.readFileSync("config.json"));
|
||||||
|
|
||||||
const updateInterval = 1000;
|
const updateInterval = 5000;
|
||||||
const retryInterval = 30000;
|
const retryInterval = 30000;
|
||||||
const restartInterval = 2 * 60 * 60 * 1000;
|
const restartInterval = 2 * 60 * 60 * 1000;
|
||||||
const reconnectDelay = 10000;
|
const reconnectDelay = 10000;
|
||||||
|
|
Loading…
Reference in New Issue