Change update delay to 1 minute
This commit is contained in:
parent
e496095906
commit
44a52d2ba8
4
index.js
4
index.js
|
@ -145,7 +145,7 @@ function updateServerList() {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Update master list every 5 minutes
|
// Update master list every 5 minutes
|
||||||
setInterval(updateMasterList, 30 * 1000);
|
setInterval(updateMasterList, 60 * 1000);
|
||||||
updateMasterList();
|
updateMasterList();
|
||||||
|
|
||||||
app.get('/check', (req, res) => {
|
app.get('/check', (req, res) => {
|
||||||
|
@ -212,4 +212,4 @@ app.get('/', (req, res) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
app.listen(port, () => console.log(`Listening on port ${port}!`));
|
app.listen(port, () => console.log(`Listening on port ${port}!`));
|
||||||
|
|
Loading…
Reference in a new issue