This commit is contained in:
mattyatea 2024-04-02 22:46:48 +09:00
parent 95310f07ac
commit e56c7782db

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