added missing clientOpts

This commit is contained in:
SrGooglo 2023-07-05 19:56:15 +00:00
parent 8e11440083
commit 95f924d836

View File

@ -33,7 +33,7 @@ export default ({
clientOpts.username = process.env.REDIS_USERNAME
}
let client = createClient()
let client = createClient(clientOpts)
if (withWsAdapter) {
client.subClient = client.duplicate()