Skip to content

Commit

Permalink
revert NoteCreateService
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriha-chan committed Oct 6, 2023
1 parent 68db3dc commit 0b8521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ export class NoteCreateService implements OnApplicationShutdown {
});

// TODO: あまりにも数が多いと redisPipeline.exec に失敗する(理由は不明)ため、3万件程度を目安に分割して実行するようにする
for (const following in [...Object.keys(followings), note.userId]) {
for (const following of followings) {
// 自分自身以外への返信
if (note.replyId && note.replyUserId !== note.userId) {
if (!following.withReplies) continue;
Expand Down

0 comments on commit 0b8521c

Please sign in to comment.