Change score half-life for trending posts from 2 hours to 1 hour (#26915)
parent
323f9cd61a
commit
3bb91e79f0
|
@ -8,7 +8,7 @@ class Trends::Statuses < Trends::Base
|
||||||
self.default_options = {
|
self.default_options = {
|
||||||
threshold: 5,
|
threshold: 5,
|
||||||
review_threshold: 3,
|
review_threshold: 3,
|
||||||
score_halflife: 2.hours.freeze,
|
score_halflife: 1.hour.freeze,
|
||||||
decay_threshold: 0.3,
|
decay_threshold: 0.3,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue