1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

test fix???

This commit is contained in:
Madeline 2022-07-22 15:43:46 +10:00
parent 65143966d3
commit fa195a3102
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

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);