From ad12d00d7e6d615c301d774f437b1a918930d2b5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 14 Feb 2019 01:13:19 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=8F=E3=83=83=E3=82=B7=E3=83=A5=E3=82=BF?= =?UTF-8?q?=E3=82=B0=E3=81=AE=E9=9B=86=E8=A8=88=E6=9C=9F=E9=96=93=E3=82=92?= =?UTF-8?q?=E7=9F=AD=E3=81=8F=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve #4238 ? --- src/server/api/endpoints/aggregation/hashtags.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/api/endpoints/aggregation/hashtags.ts b/src/server/api/endpoints/aggregation/hashtags.ts index 13d0e1e2a6..99ef8901db 100644 --- a/src/server/api/endpoints/aggregation/hashtags.ts +++ b/src/server/api/endpoints/aggregation/hashtags.ts @@ -10,7 +10,9 @@ export default define(meta, (ps) => new Promise(async (res, rej) => { const instance = await fetchMeta(); const hidedTags = instance.hidedTags.map(t => t.toLowerCase()); - const span = 1000 * 60 * 60 * 24 * 7; // 1週間 + // 重い + //const span = 1000 * 60 * 60 * 24 * 7; // 1週間 + const span = 1000 * 60 * 60 * 24; // 1日 //#region 1. 指定期間の内に投稿されたハッシュタグ(とユーザーのペア)を集計 const data = await Note.aggregate([{