Browse Source

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

closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
6726d2933a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/trends/statuses.rb

+ 1
- 1
app/models/trends/statuses.rb 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

Loading…
Cancel
Save