dont ping servers on startup
All checks were successful
Publish Docker Image / docker (push) Successful in 43s

This commit is contained in:
Lee 2024-01-03 07:42:39 +00:00
parent d4bba5426e
commit 8f344d246f

View File

@ -22,14 +22,6 @@ export default class ServerManager {
});
this.servers.push(server);
}
// do an inital ping of all servers to load data from them
await Promise.all(
this.servers.map((server) => {
try {
server.pingServer();
} catch (err) {}
})
);
logger.info(`Loaded ${this.servers.length} servers`);
}