Namespace key in redis by db
This commit is contained in:
parent
608865fe9d
commit
6bd7e6b374
|
@ -33,7 +33,7 @@ export class DocWritethrough {
|
||||||
this.db = db
|
this.db = db
|
||||||
this._docId = docId
|
this._docId = docId
|
||||||
this.writeRateMs = writeRateMs
|
this.writeRateMs = writeRateMs
|
||||||
this.docInfoCacheKey = `${this.docId}:info`
|
this.docInfoCacheKey = `${this.db.name}:${this.docId}:info`
|
||||||
}
|
}
|
||||||
|
|
||||||
get docId() {
|
get docId() {
|
||||||
|
|
Loading…
Reference in New Issue