Namespace key in redis by db

This commit is contained in:
Adria Navarro 2024-03-01 13:38:48 +01:00
parent 608865fe9d
commit 6bd7e6b374
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export class DocWritethrough {
this.db = db
this._docId = docId
this.writeRateMs = writeRateMs
this.docInfoCacheKey = `${this.docId}:info`
this.docInfoCacheKey = `${this.db.name}:${this.docId}:info`
}
get docId() {