Fix key eviction

This commit is contained in:
Rory Powell 2022-06-01 15:31:27 +01:00
parent 4f34e1b2c7
commit 081db8423e
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,8 @@ class RedisWrapper {
}
async keys(pattern) {
return CLIENT.keys(pattern)
const db = this._db
return CLIENT.keys(addDbPrefix(db, pattern))
}
async get(key) {