fix error
This commit is contained in:
parent
a4a0549738
commit
7f3aabf945
@ -878,6 +878,9 @@ ejs.cache = new LRU({max:20})
|
|||||||
const load_var_cache = new LRU({
|
const load_var_cache = new LRU({
|
||||||
max: 20,
|
max: 20,
|
||||||
maxSize: 10000,
|
maxSize: 10000,
|
||||||
|
sizeCalculation: (value, key) => {
|
||||||
|
return value.length
|
||||||
|
},
|
||||||
ttl: 1000 * 60,
|
ttl: 1000 * 60,
|
||||||
allowStale: true,
|
allowStale: true,
|
||||||
updateAgeOnGet: true,
|
updateAgeOnGet: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user