diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-22 15:43:46 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-22 15:43:46 +1000 |
commit | fa195a31026358930996f30d8671d5ff72d1f957 (patch) | |
tree | e4afa61c1da258c71bcf55793131ca5e05638647 | |
parent | Merge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into sl... (diff) | |
download | server-fa195a31026358930996f30d8671d5ff72d1f957.tar.xz |
test fix???
-rw-r--r-- | slowcord/status/src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slowcord/status/src/index.ts b/slowcord/status/src/index.ts index 390767ac..9aeb01a1 100644 --- a/slowcord/status/src/index.ts +++ b/slowcord/status/src/index.ts @@ -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); |