mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13 * chore: #6599, linting 😬
This commit is contained in:
committed by
Julian Lam
parent
eb0a322d7f
commit
64b9dabff8
@@ -5,6 +5,7 @@ var async = require('async');
|
||||
var winston = require('winston');
|
||||
var nconf = require('nconf');
|
||||
var crypto = require('crypto');
|
||||
var LRU = require('lru-cache');
|
||||
|
||||
var db = require('./database');
|
||||
var plugins = require('./plugins');
|
||||
@@ -25,7 +26,6 @@ var uniquevisitors = 0;
|
||||
* the cache could be exhausted continuously if there are more than 500 concurrently
|
||||
* active users
|
||||
*/
|
||||
var LRU = require('lru-cache');
|
||||
var ipCache = LRU({
|
||||
max: 500,
|
||||
length: function () { return 1; },
|
||||
|
||||
Reference in New Issue
Block a user