From 9899b3cc386206cd3df66406e39d590c5683f916 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Tue, 19 Nov 2024 00:00:02 +0800 Subject: [PATCH] backend: change HASHTAG_RANKING_WINDOW Signed-off-by: eternal-flame-AD --- packages/backend/src/core/FeaturedService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/FeaturedService.ts b/packages/backend/src/core/FeaturedService.ts index b3335e38da..cdfda0aee3 100644 --- a/packages/backend/src/core/FeaturedService.ts +++ b/packages/backend/src/core/FeaturedService.ts @@ -12,7 +12,7 @@ import { bindThis } from '@/decorators.js'; const GLOBAL_NOTES_RANKING_WINDOW = 1000 * 60 * 60 * 24 * 3; // 3日ごと export const GALLERY_POSTS_RANKING_WINDOW = 1000 * 60 * 60 * 24 * 3; // 3日ごと const PER_USER_NOTES_RANKING_WINDOW = 1000 * 60 * 60 * 24 * 7; // 1週間ごと -const HASHTAG_RANKING_WINDOW = 1000 * 60 * 60; // 1時間ごと +const HASHTAG_RANKING_WINDOW = 1000 * 60 * 60 * 48; // 48時間ごと const featuredEpoc = new Date('2023-01-01T00:00:00Z').getTime();