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
commitfa195a31026358930996f30d8671d5ff72d1f957 (patch)
treee4afa61c1da258c71bcf55793131ca5e05638647
parentMerge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into sl... (diff)
downloadserver-fa195a31026358930996f30d8671d5ff72d1f957.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);