mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 19:47:37 +02:00
fix: #6979
This commit is contained in:
@@ -9,7 +9,7 @@ var pubsub = require('../pubsub');
|
||||
|
||||
module.exports = function (User) {
|
||||
User.blocks = {
|
||||
_cache: LRU({
|
||||
_cache: new LRU({
|
||||
max: 100,
|
||||
length: function () { return 1; },
|
||||
maxAge: 0,
|
||||
|
||||
Reference in New Issue
Block a user