Story: take hotness window back down to 36, 48 is a bit stale
This commit is contained in:
parent
c94fd60f77
commit
bf928cf62b
|
@ -159,7 +159,7 @@ class Story < ActiveRecord::Base
|
|||
end
|
||||
|
||||
# TODO: as the site grows, shrink this down to 12 or so.
|
||||
window = 60 * 60 * 48
|
||||
window = 60 * 60 * 36
|
||||
|
||||
return -((order * sign) + base +
|
||||
((self.created_at || Time.now).to_f / window)).round(7)
|
||||
|
|
Loading…
Reference in a new issue