1
0
Fork 0
mirror of synced 2024-07-11 01:06:04 +12:00

Namespace key in redis by db

This commit is contained in:
Adria Navarro 2024-03-01 13:38:48 +01:00
parent 1c17121568
commit 93e462b8c7

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() {