From 7a3dd400d822b6c9895a66bc8e461d21e01909e9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Oct 2023 18:17:06 +0900 Subject: [PATCH] Update NoteCreateService.ts --- packages/backend/src/core/NoteCreateService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 4110652bd8..f8d48fc821 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -917,20 +917,20 @@ export class NoteCreateService implements OnApplicationShutdown { if (note.replyId && note.replyUserId !== note.userId) { redisPipeline.xadd( `userTimelineWithReplies:${user.id}`, - 'MAXLEN', '~', '200', + 'MAXLEN', '~', '1000', '*', 'note', note.id); } else { redisPipeline.xadd( `userTimeline:${user.id}`, - 'MAXLEN', '~', '200', + 'MAXLEN', '~', '1000', '*', 'note', note.id); if (note.fileIds.length > 0) { redisPipeline.xadd( `userTimelineWithFiles:${user.id}`, - 'MAXLEN', '~', '100', + 'MAXLEN', '~', '500', '*', 'note', note.id); }