Change update delay to 1 minute

This commit is contained in:
Christopher Cookman 2022-11-23 10:50:48 -07:00
parent e496095906
commit 44a52d2ba8

View file

@ -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}!`));