fix: need to disable useClones in node cache
This commit is contained in:
parent
cbc652ccb1
commit
07845bf4d0
|
@ -14,7 +14,7 @@ export interface StoreItem {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class Store implements IStore {
|
export default class Store implements IStore {
|
||||||
private store = new NodeCache();
|
private store = new NodeCache({ useClones: false });
|
||||||
|
|
||||||
constructor(expire: number = 0) {
|
constructor(expire: number = 0) {
|
||||||
this.store.options.stdTTL = 0;
|
this.store.options.stdTTL = 0;
|
||||||
|
|
Loading…
Reference in New Issue