Change half-life of trending status scores from 6 hours to 2 hours (#18182)

th-downstream
Eugen Rochko 3 years ago committed by GitHub
parent 2c1843f37a
commit 4543f42811

@ -6,7 +6,7 @@ class Trends::Statuses < Trends::Base
self.default_options = { self.default_options = {
threshold: 5, threshold: 5,
review_threshold: 3, review_threshold: 3,
score_halflife: 6.hours.freeze, score_halflife: 2.hours.freeze,
} }
class Query < Trends::Query class Query < Trends::Query

Loading…
Cancel
Save