From 081db8423e46a48e9f411c14c5c32506bc815e10 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 1 Jun 2022 15:31:27 +0100 Subject: [PATCH] Fix key eviction --- packages/backend-core/src/redis/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend-core/src/redis/index.js b/packages/backend-core/src/redis/index.js index 65d1847eb7..38f7130a4c 100644 --- a/packages/backend-core/src/redis/index.js +++ b/packages/backend-core/src/redis/index.js @@ -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) {