From 8f344d246f4b68eee9d425217b7da939c8f3340e Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jan 2024 07:42:39 +0000 Subject: [PATCH] dont ping servers on startup --- src/server/serverManager.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/server/serverManager.ts b/src/server/serverManager.ts index 76ab0c8..a909fd0 100644 --- a/src/server/serverManager.ts +++ b/src/server/serverManager.ts @@ -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`); }