From 12b52e53205165d71a488800a2da7ce06916eb4c Mon Sep 17 00:00:00 2001 From: Micheil Smith Date: Sun, 9 Feb 2014 21:26:11 +0000 Subject: [PATCH] Removed storage of tid:lastFeedUpdate now that feeds are on-demand --- src/topics.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/topics.js b/src/topics.js index 4dba87e38d..79a2423252 100644 --- a/src/topics.js +++ b/src/topics.js @@ -152,13 +152,6 @@ var async = require('async'), posts.create(uid, tid, content, next); }, function(postData, next) { - db.getObjectField('tid:lastFeedUpdate', tid, function(err, lastFeedUpdate) { - var now = Date.now(); - if(!lastFeedUpdate || parseInt(lastFeedUpdate, 10) < now - 3600000) { - db.setObjectField('tid:lastFeedUpdate', tid, now); - } - }); - threadTools.notifyFollowers(tid, postData.pid, uid); user.sendPostNotificationToFollowers(uid, tid, postData.pid);