v1.18.x
barisusakli 11 years ago
parent 0b83657868
commit ef329c95df

@ -113,7 +113,7 @@ var async = require('async'),
}; };
Posts.getPostsByPids = function(pids, callback) { Posts.getPostsByPids = function(pids, callback) {
if (pids && pids.length) { if (pids && pids.length > 100) {
var e = new Error('getPostsByPids'); var e = new Error('getPostsByPids');
winston.warn('[GET_POST_BY_PIDS ' + pids.length, e.stack); winston.warn('[GET_POST_BY_PIDS ' + pids.length, e.stack);
} }

Loading…
Cancel
Save