Add the keyPrefix option when redis is not in cluster mode (#1655)
This commit is contained in:
@@ -68,6 +68,7 @@ export function createRedisClient(
|
||||
username: options.username,
|
||||
password: options.password,
|
||||
enableAutoPipelining: true,
|
||||
keyPrefix: options.keyPrefix,
|
||||
...(options.tlsDisabled ? {} : { tls: {} }),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user