mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-20 15:31:12 +02:00
add max to cache
This commit is contained in:
@@ -24,6 +24,7 @@ const controllers = {
|
||||
|
||||
const delayCache = cacheCreate({
|
||||
ttl: 1000 * 60,
|
||||
max: 200,
|
||||
});
|
||||
|
||||
const middleware = module.exports;
|
||||
|
||||
Reference in New Issue
Block a user