maxRetriesPerRequest = null is not added in redisOpts of createClient function #2726
Unanswered
raghavbitqit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I am using createClient method to reuse the redis connection and after passing the redisOpts and I am getting the error Using a redis instance with enableReadyCheck or maxRetriesPerRequest for bclient/subscriber is not permitted. as In earlier issue it is mentionied that this property has been added in redisOpts but on printing I got RedisOption {
enableReadyCheck: false,
port: 6379,
host: '127.0.0.1',
db: undefined,
retryStrategy: [Function: retryStrategy]
} so If I explicity mention this it will work but I have to remove redisOpts , so is that affect the reusing the redis connection . Please Help
Beta Was this translation helpful? Give feedback.
All reactions