mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 13:03:08 +00:00
Fix trace
This commit is contained in:
1 parent
69109deb5a
commit
10ddea113d
1 file changed
+2
-1
@@ -333,7 +333,8 @@ export async function onIdentify(this: WebSocket, data: Payload) {
|
||||
});
|
||||
|
||||
for (const call of mergeMemberGuildsTrace.calls!) {
|
||||
mergeMemberGuildsTrace.micros += (call as { micros: number }).micros;
|
||||
if (typeof call !== "string")
|
||||
mergeMemberGuildsTrace.micros += (call as { micros: number }).micros;
|
||||
}
|
||||
|
||||
const totalQueryTime = taskSw.getElapsedAndReset();
|
||||
|
||||
Reference in new issue
Block a user