summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-22 15:43:46 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-22 15:43:46 +1000
commit019bbdea247db05a9470e8c29899a16b50790c62 (patch)
tree43a17633f180afffb29fba99538d8ec69980bb67
parentMerge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into sl... (diff)
downloadserver-019bbdea247db05a9470e8c29899a16b50790c62.tar.xz
test fix???
-rw-r--r--slowcord/status/src/index.ts1
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);