diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:51:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:51:51 +0900 |
| commit | 03fbae7b6d6125b6901734768da185d66f923199 (patch) | |
| tree | 4ae0fafa1400d01c14ce46c6faa7dd24d907152c /src/server/api/endpoints | |
| parent | Fix bug (diff) | |
| download | sharkey-03fbae7b6d6125b6901734768da185d66f923199.tar.gz sharkey-03fbae7b6d6125b6901734768da185d66f923199.tar.bz2 sharkey-03fbae7b6d6125b6901734768da185d66f923199.zip | |
変数調整
Diffstat (limited to 'src/server/api/endpoints')
| -rw-r--r-- | src/server/api/endpoints/hashtags/trend.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/endpoints/hashtags/trend.ts b/src/server/api/endpoints/hashtags/trend.ts index 91fbd2f9fd..43048c1c9f 100644 --- a/src/server/api/endpoints/hashtags/trend.ts +++ b/src/server/api/endpoints/hashtags/trend.ts @@ -5,8 +5,8 @@ import Note from '../../../../models/note'; ユニーク投稿数とはそのハッシュタグと投稿ユーザーのペアのカウントで、例えば同じユーザーが複数回同じハッシュタグを投稿してもそのハッシュタグのユニーク投稿数は1とカウントされる */ -const rangeA = 1000 * 60 * 10; // 10分 -const rangeB = 1000 * 60 * 40; // 40分 +const rangeA = 1000 * 60 * 30; // 30分 +const rangeB = 1000 * 60 * 120; // 2時間 const coefficient = 1.5; // 「n倍」の部分 /** |