Browse Source
Change trending hashtags threshold back from 15 to 5 (#17122)
closed-social-glitch-2
Eugen Rochko
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/models/trends/tags.rb
|
|
@ -4,7 +4,7 @@ class Trends::Tags < Trends::Base |
|
|
|
PREFIX = 'trending_tags' |
|
|
|
|
|
|
|
self.default_options = { |
|
|
|
threshold: 15, |
|
|
|
threshold: 5, |
|
|
|
review_threshold: 10, |
|
|
|
max_score_cooldown: 2.days.freeze, |
|
|
|
max_score_halflife: 4.hours.freeze, |
|
|
|