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}`), - ])); - } }