Skip to content

Commit 3641647

Browse files
authored
Add the keyPrefix option when redis is not in cluster mode (#1655)
1 parent 664bce5 commit 3641647

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)