Add the keyPrefix option when redis is not in cluster mode (#1655)

This commit is contained in:
Eric Allam
2025-01-31 10:50:52 +00:00
committed by GitHub
parent 664bce561d
commit 3641647add
+1
View File
@@ -68,6 +68,7 @@ export function createRedisClient(
username: options.username,
password: options.password,
enableAutoPipelining: true,
keyPrefix: options.keyPrefix,
...(options.tlsDisabled ? {} : { tls: {} }),
});
}