From fb5e8dc387824573965bcc11e9b444d39f2343f1 Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Sun, 22 Mar 2015 20:11:37 +0900 Subject: [PATCH] Remove debug statement, closes #156, story decay to 32 hours --- controllers/story.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/controllers/story.js b/controllers/story.js index d3bfd554056..cc7f3dfbeaa 100644 --- a/controllers/story.js +++ b/controllers/story.js @@ -19,7 +19,7 @@ function hotRank(timeValue, rank) { */ var hotness; var z = Math.log(rank) / Math.log(10); - hotness = z + (timeValue / 172800000); + hotness = z + (timeValue / 115200000); return hotness; } @@ -227,8 +227,6 @@ exports.upvote = function(req, res, next) { if (err) { return next(err); } - // todo debug - debug('This is the user in upvote', user); user = user.pop(); user.progressTimestamps.push(Date.now()); user.save();