Remove debug statement, closes #156, story decay to 32 hours

pull/256/head
Nathan Leniz 2015-03-22 20:11:37 +09:00
parent 31ce7b686a
commit fb5e8dc387
1 changed files with 1 additions and 3 deletions

View File

@ -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();