This commit is contained in:
mattyatea 2024-04-02 22:46:48 +09:00
parent 95310f07ac
commit e56c7782db
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ export class GlobalEventService {
public publishMainStream<K extends keyof MainEventTypes>(userId: MiUser['id'], type: K, value?: MainEventTypes[K]): void {
console.time('time GlobalEventService.publishMainStream');
this.publish(`mainStream:${userId}`, type, typeof value === 'undefined' ? null : value);
console.time('time GlobalEventService.publishMainStream');
console.timeEnd('time GlobalEventService.publishMainStream');
}
@bindThis