diff --git a/src/notifications.js b/src/notifications.js index f6869e1816..c8e4cd35f7 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -21,7 +21,7 @@ var async = require('async'), if (process.env.NODE_ENV === 'development') { winston.info('[notifications.init] Registering jobs.'); } - new cron('0 * * * *', Notifications.prune, null, true); + new cron('0/30 * * * *', Notifications.prune, null, true); }; Notifications.get = function(nid, callback) { diff --git a/src/postTools.js b/src/postTools.js index a162561740..595941fb09 100644 --- a/src/postTools.js +++ b/src/postTools.js @@ -101,7 +101,7 @@ var winston = require('winston'), return callback(err); } - events.logPostEdit(uid, pid); + //events.logPostEdit(uid, pid); plugins.fireHook('action:post.edit', postData); callback(null, results); });