dont ping servers on startup
All checks were successful
Publish Docker Image / docker (push) Successful in 43s
All checks were successful
Publish Docker Image / docker (push) Successful in 43s
This commit is contained in:
parent
d4bba5426e
commit
8f344d246f
@ -22,14 +22,6 @@ export default class ServerManager {
|
|||||||
});
|
});
|
||||||
this.servers.push(server);
|
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`);
|
logger.info(`Loaded ${this.servers.length} servers`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user