mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-03 05:09:48 +01:00
50
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = function(privileges) {
|
||||
privileges.posts = {};
|
||||
|
||||
privileges.posts.get = function(pids, uid, callback) {
|
||||
if (pids && pids.length > 100) {
|
||||
if (pids && pids.length > 50) {
|
||||
var e = new Error('too many keys')
|
||||
winston.warn('[TOO_MANY_KEYS] ' + pid.length, e.stack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user