mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-11 09:55:13 +08:00
upped cache to 50mb
This commit is contained in:
parent
4da5fe4884
commit
9182d353fe
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import {
|
|||
|
||||
const tokenCache = new LRUCache<string, DecodedIdToken>({
|
||||
max: 20000,
|
||||
maxSize: 20000000, // 20MB
|
||||
maxSize: 50000000, // 50MB
|
||||
sizeCalculation: (token, key): number =>
|
||||
JSON.stringify(token).length + key.length, //sizeInBytes
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue