api/stream/manage: don't use clones in node cache
This commit is contained in:
parent
406ac7613c
commit
776c4f4dba
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ const freebind = env.freebindCIDR && await import('freebind').catch(() => {});
|
||||||
const streamCache = new NodeCache({
|
const streamCache = new NodeCache({
|
||||||
stdTTL: env.streamLifespan,
|
stdTTL: env.streamLifespan,
|
||||||
checkperiod: 10,
|
checkperiod: 10,
|
||||||
deleteOnExpire: true
|
deleteOnExpire: true,
|
||||||
|
useClones: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
streamCache.on("expired", (key) => {
|
streamCache.on("expired", (key) => {
|
||||||
|
|
Loading…
Reference in a new issue