From fc6825055b9d700e34927b5fd20fdcd77b132a16 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 14 Sep 2023 09:20:14 +0200 Subject: [PATCH] Change score half-life for trending posts from 2 hours to 1 hour (#26915) --- app/models/trends/statuses.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/trends/statuses.rb b/app/models/trends/statuses.rb index 886a385a71..427fa8e797 100644 --- a/app/models/trends/statuses.rb +++ b/app/models/trends/statuses.rb @@ -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, }