diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:43:56 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-12 01:43:56 +0900 |
| commit | c61050244e5e84833688c1aaaea1ebc3be5e72f4 (patch) | |
| tree | 0a0d3ea6e16f5ed111b0c748ba80351cc52ef611 /src/server/api | |
| parent | Improve hashtag trend detection (diff) | |
| download | sharkey-c61050244e5e84833688c1aaaea1ebc3be5e72f4.tar.gz sharkey-c61050244e5e84833688c1aaaea1ebc3be5e72f4.tar.bz2 sharkey-c61050244e5e84833688c1aaaea1ebc3be5e72f4.zip | |
変数調整
Diffstat (limited to 'src/server/api')
| -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 170580dd80..257718014d 100644 --- a/src/server/api/endpoints/hashtags/trend.ts +++ b/src/server/api/endpoints/hashtags/trend.ts @@ -6,8 +6,8 @@ import Note from '../../../../models/note'; */ const rangeA = 1000 * 60 * 10; // 10分 -const rangeB = 1000 * 60 * 60; // 1時間 -const coefficient = 2; // 「n倍」の部分 +const rangeB = 1000 * 60 * 40; // 40分 +const coefficient = 1.5; // 「n倍」の部分 /** * Get trends of hashtags |