1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 12:42:44 +01:00

test fix???

This commit is contained in:
Madeline 2022-07-22 15:43:46 +10:00
parent a5382fb6b5
commit 019bbdea24

View File

@ -81,6 +81,7 @@ const app = async () => {
console.log(`Monitoring performance for instance at ${new URL(instance.api).hostname}`);
const doMeasurements = async () => {
await new Promise((resolve) => resolve(null)); // uhhh shitty way to fix bug?
await measureApi("ping", `${instance.api}/ping`);
await measureApi("users/@me", `${instance.api}/users/@me`);
await measureApi("login", `${instance.app}/login`, false);