mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
Fix trace
This commit is contained in:
1 parent
263e2e32eb
commit
2defc309c4
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