1
0
Fork 0
forked from fedi/mastodon

Change trending hashtags threshold back from 15 to 5 (#17122)

This commit is contained in:
Eugen Rochko 2021-12-13 05:32:29 +01:00 committed by GitHub
parent 6c8c031bcd
commit fe45184b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,