From 9182d353fe7d9420af2b927e3aebdfa9799c6d42 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 27 Sep 2022 00:52:50 +0200 Subject: [PATCH] upped cache to 50mb --- backend/src/utils/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/utils/auth.ts b/backend/src/utils/auth.ts index 103113018..6294c0660 100644 --- a/backend/src/utils/auth.ts +++ b/backend/src/utils/auth.ts @@ -10,7 +10,7 @@ import { const tokenCache = new LRUCache({ max: 20000, - maxSize: 20000000, // 20MB + maxSize: 50000000, // 50MB sizeCalculation: (token, key): number => JSON.stringify(token).length + key.length, //sizeInBytes });