Browse Source

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

closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
fe45184b36
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/trends/tags.rb

+ 1
- 1
app/models/trends/tags.rb View File

@ -4,7 +4,7 @@ class Trends::Tags < Trends::Base
PREFIX = 'trending_tags' PREFIX = 'trending_tags'
self.default_options = { self.default_options = {
threshold: 15,
threshold: 5,
review_threshold: 10, review_threshold: 10,
max_score_cooldown: 2.days.freeze, max_score_cooldown: 2.days.freeze,
max_score_halflife: 4.hours.freeze, max_score_halflife: 4.hours.freeze,

Loading…
Cancel
Save