mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
Change decay rate of hot stories to 48 hours
This commit is contained in:
parent
2f240655a2
commit
752f4125d4
@ -19,7 +19,7 @@ function hotRank(timeValue, rank) {
|
||||
*/
|
||||
var hotness;
|
||||
var z = Math.log(rank) / Math.log(10);
|
||||
hotness = z + (timeValue / 45000000);
|
||||
hotness = z + (timeValue / 1728000000);
|
||||
return hotness;
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user