Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(backend): Defer instance metadata update #14558

Merged
merged 11 commits into from
Sep 26, 2024
Prev Previous commit
Next Next commit
Fix typo :)
  • Loading branch information
KOBA789 committed Sep 16, 2024
commit 0de1e59b982d4f58944ae11a093f1094bdfdfada
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ export class NoteCreateService implements OnApplicationShutdown {
}

@bindThis
private async async performUpdateNotesCount(id: MiNote['id'], incrBy: number) {
private async performUpdateNotesCount(id: MiNote['id'], incrBy: number) {
await this.instancesRepository.increment({ id: id }, 'notesCount', incrBy);
}

Expand Down
Loading