add max to cache

This commit is contained in:
Barış Soner Uşaklı
2022-09-21 09:52:16 -04:00
parent be33752ba6
commit 53d830d87e

View File

@@ -24,6 +24,7 @@ const controllers = {
const delayCache = cacheCreate({
ttl: 1000 * 60,
max: 200,
});
const middleware = module.exports;