mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-27 22:34:11 +00:00
Fix trace
This commit is contained in:
@@ -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