From ef329c95df284adaf047aa0ec57b92e470225791 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 6 Sep 2014 03:21:00 -0400 Subject: [PATCH] fix --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index 6d22f5eb5d..1327b41060 100644 --- a/src/posts.js +++ b/src/posts.js @@ -113,7 +113,7 @@ var async = require('async'), }; Posts.getPostsByPids = function(pids, callback) { - if (pids && pids.length) { + if (pids && pids.length > 100) { var e = new Error('getPostsByPids'); winston.warn('[GET_POST_BY_PIDS ' + pids.length, e.stack); }