Namespace key in redis by db
This commit is contained in:
parent
1c17121568
commit
93e462b8c7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue