~cytrogen/masto-fe

fc6825055b9d700e34927b5fd20fdcd77b132a16 — Eugen Rochko 2 years ago a04ae16
Change score half-life for trending posts from 2 hours to 1 hour (#26915)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/models/trends/statuses.rb
M app/models/trends/statuses.rb => app/models/trends/statuses.rb +1 -1
@@ 8,7 8,7 @@ class Trends::Statuses < Trends::Base
  self.default_options = {
    threshold: 5,
    review_threshold: 3,
    score_halflife: 2.hours.freeze,
    score_halflife: 1.hour.freeze,
    decay_threshold: 0.3,
  }