From 6ad3f07d485b18db71244c386386a82643ffaf33 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 14 Jul 2025 14:36:07 +0900 Subject: [PATCH] revert --- packages/backend/src/core/FanoutTimelineService.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/backend/src/core/FanoutTimelineService.ts b/packages/backend/src/core/FanoutTimelineService.ts index 3d1f571066..b00814219b 100644 --- a/packages/backend/src/core/FanoutTimelineService.ts +++ b/packages/backend/src/core/FanoutTimelineService.ts @@ -113,17 +113,4 @@ export class FanoutTimelineService { public purge(name: FanoutTimelineName) { return this.redisForTimelines.del('list:' + name); } - - @bindThis - public purgeByUserIds(userIds: MiUser['id'][]) { - return Promise.all(userIds.flatMap(userId => [ - this.purge(`homeTimeline:${userId}`), - this.purge(`homeTimelineWithFiles:${userId}`), - this.purge(`localTimelineWithReplyTo:${userId}`), - this.purge(`userTimeline:${userId}`), - this.purge(`userTimelineWithFiles:${userId}`), - this.purge(`userTimelineWithReplies:${userId}`), - this.purge(`userTimelineWithChannel:${userId}`), - ])); - } }