fix weird stream behavior in some cases

This commit is contained in:
Randall Schmidt
2021-07-09 15:21:11 -04:00
parent 675ed9bbf2
commit 6023b56164
4 changed files with 36 additions and 53 deletions

View File

@ -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);
}
}