60000
This commit is contained in:
parent
89279a6735
commit
8845426001
|
@ -57,7 +57,7 @@ import "./others/warmup.mjs";
|
||||||
|
|
||||||
const cache = new LRUCache({
|
const cache = new LRUCache({
|
||||||
maxSize: 1000,
|
maxSize: 1000,
|
||||||
ttl: 345600000,
|
ttl: 60000,
|
||||||
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