crash fix

v1.18.x
barisusakli 11 years ago
parent 017f6bde2c
commit 0cfa430444

@ -18,7 +18,7 @@ module.exports = function(privileges) {
privileges.posts.get = function(pids, uid, callback) { privileges.posts.get = function(pids, uid, callback) {
if (pids && pids.length > 50) { if (pids && pids.length > 50) {
var e = new Error('too many keys') var e = new Error('too many keys')
winston.warn('[TOO_MANY_KEYS] ' + pid.length, e.stack); winston.warn('[TOO_MANY_KEYS] ' + pids.length, e.stack);
} }
async.parallel({ async.parallel({
manage_content: function(next) { manage_content: function(next) {

Loading…
Cancel
Save