Closed abarke closed 4 years ago
Hey @JonathanBennett any chance of a quick patch and new release?
That would be most appreciated!
Hi there @abarke - apologies for the delay; missed this.
Will merge and release today.
Released as version 0.2.1
Awesome thanks!
Simple fix to prevent the redis client error: NOAUTH Authentication required.
Problem: with redis instances that require auth,
client.select
was called beforeclient.auth
Solution: Reorder the code to first call
client.auth
Another simple solution would be to simply pass REDIS_URL to the
createClient
function. The codeif (connection.auth)
would then be redundantRef: https://github.com/NodeRedis/node-redis/tree/v.2.8.0#rediscreateclient