UserEntityService.getRelations()の書き方をメモリに優しい形にする #13810
Labels
🔥high priority
packages/backend
Server side specific issue/PR
🐢Performance
Efficiency related issue/PR
💚Refactor
Rewriting code without changing behavior
Summary
misskey/packages/backend/src/core/entities/UserEntityService.ts
Lines 250 to 265 in 5c1d86b
使用しているのは各IDのみなので、エンティティをまるまる作る形ではなく、
.select(['followerId']).getRawMany()
のような形にして余計な値を読まないようにするPurpose
パフォーマンス改善
Do you want to implement this feature yourself?
The text was updated successfully, but these errors were encountered: