Update index.mjs
This commit is contained in:
parent
c13a708584
commit
ff50de3064
|
@ -57,7 +57,7 @@ import "./others/warmup.mjs";
|
||||||
|
|
||||||
const cache = new LRUCache({
|
const cache = new LRUCache({
|
||||||
maxSize: 1000,
|
maxSize: 1000,
|
||||||
ttl: 60000,
|
ttl: 60_000,
|
||||||
allowStale: false,
|
allowStale: false,
|
||||||
sizeCalculation: (value, key) => Buffer.byteLength(value) + Buffer.byteLength(key)
|
sizeCalculation: (value, key) => Buffer.byteLength(value) + Buffer.byteLength(key)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user