mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-05-12 06:59:30 -05:00
Integrated the server loading into the index.js
This commit is contained in:
@@ -26,6 +26,9 @@ try {
|
||||
|
||||
module.exports.database = db;
|
||||
|
||||
// Create servers.json
|
||||
require('./tasks/loadServers');
|
||||
|
||||
// Start all timer
|
||||
timerTask.startTimer();
|
||||
let removeInterval = setInterval(async () => require('./tasks/speedtest').removeOld(), 60000);
|
||||
|
||||
Reference in New Issue
Block a user