mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
api/stream/manage: don't use clones in node cache
This commit is contained in:
parent
406ac7613c
commit
776c4f4dba
@ -15,7 +15,8 @@ const freebind = env.freebindCIDR && await import('freebind').catch(() => {});
|
||||
const streamCache = new NodeCache({
|
||||
stdTTL: env.streamLifespan,
|
||||
checkperiod: 10,
|
||||
deleteOnExpire: true
|
||||
deleteOnExpire: true,
|
||||
useClones: false,
|
||||
})
|
||||
|
||||
streamCache.on("expired", (key) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user