mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 21:06:01 +01:00
Change half-life of trending status scores from 6 hours to 2 hours (#18182)
This commit is contained in:
parent
e7f0c9f7da
commit
6726d2933a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue