about summary refs log tree commit diff
path: root/app/models/trends
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-04-29 11:46:59 +0200
committerGitHub <noreply@github.com>2022-04-29 11:46:59 +0200
commit6726d2933a25137f8dce639c53da8aa1752be47e (patch)
tree3145899780285dce7441ec8cbce1165e41523dcc /app/models/trends
parente7f0c9f7dad3ae7deceaf289d3cefd41b768efc8 (diff)
Change half-life of trending status scores from 6 hours to 2 hours (#18182)
Diffstat (limited to 'app/models/trends')
-rw-r--r--app/models/trends/statuses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/trends/statuses.rb b/app/models/trends/statuses.rb
index d9b07446e..3013bc1d1 100644
--- a/app/models/trends/statuses.rb
+++ b/app/models/trends/statuses.rb
@@ -6,7 +6,7 @@ class Trends::Statuses < Trends::Base
   self.default_options = {
     threshold: 5,
     review_threshold: 3,
-    score_halflife: 6.hours.freeze,
+    score_halflife: 2.hours.freeze,
   }
 
   class Query < Trends::Query