mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
fix: #6979
This commit is contained in:
@@ -26,7 +26,7 @@ var uniquevisitors = 0;
|
||||
* the cache could be exhausted continuously if there are more than 500 concurrently
|
||||
* active users
|
||||
*/
|
||||
var ipCache = LRU({
|
||||
var ipCache = new LRU({
|
||||
max: 500,
|
||||
length: function () { return 1; },
|
||||
maxAge: 0,
|
||||
|
||||
Reference in New Issue
Block a user