ハッシュタグの集計期間を短くした

Resolve #4238 ?
This commit is contained in:
syuilo 2019-02-14 01:13:19 +09:00
parent b165b90c40
commit ad12d00d7e
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 3 additions and 1 deletions

View File

@ -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([{