Skip to content

Commit 242a4ea

Browse files
committed
Add the keyPrefix option when redis is not in cluster mode
1 parent 7347158 commit 242a4ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/redis.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function createRedisClient(
6868
username: options.username,
6969
password: options.password,
7070
enableAutoPipelining: true,
71+
keyPrefix: options.keyPrefix,
7172
...(options.tlsDisabled ? {} : { tls: {} }),
7273
});
7374
}

0 commit comments

Comments
 (0)