Skip to content

Commit

Permalink
Add the keyPrefix option when redis is not in cluster mode (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam authored Jan 31, 2025
1 parent 664bce5 commit 3641647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/webapp/app/redis.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export function createRedisClient(
username: options.username,
password: options.password,
enableAutoPipelining: true,
keyPrefix: options.keyPrefix,
...(options.tlsDisabled ? {} : { tls: {} }),
});
}
Expand Down

0 comments on commit 3641647

Please sign in to comment.