1
0
Fork 0
forked from fedi/mastodon

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

This commit is contained in:
Eugen Rochko 2022-04-29 11:46:59 +02:00 committed by GitHub
parent e7f0c9f7da
commit 6726d2933a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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