fix weird stream behavior in some cases
This commit is contained in:
@ -41,5 +41,7 @@ export class MemoryCache {
|
||||
if (typeof this.ttl === 'number') {
|
||||
this.keyTimeout.updateTimeout(key, this.ttl, () => this.remove(key));
|
||||
}
|
||||
|
||||
return this.get(key);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user