mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
run notif prune every 30mins
disabled post edit log
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user