This commit is contained in:
mattyatea 2024-04-02 22:44:39 +09:00
parent 103c4190eb
commit 95310f07ac
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ export class AccountUpdateService {
@bindThis
public async publishToFollowers(userId: MiUser['id']) {
console.time('AccountUpdateService.publishToFollowers');
console.time('time AccountUpdateService.publishToFollowers');
const user = await this.usersRepository.findOneBy({ id: userId });
if (user == null) throw new Error('user not found');
@ -38,6 +38,6 @@ export class AccountUpdateService {
this.apDeliverManagerService.deliverToFollowers(user, content);
this.relayService.deliverToRelays(user, content);
}
console.timeEnd('AccountUpdateService.publishToFollowers');
console.timeEnd('time AccountUpdateService.publishToFollowers');
}
}