You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been attempting to pass my own redisClient, so I could use sentinel-aware ioredis. It looks like this won't work, and the injection is only for testing, since redisClient needs decorations provided by this repo (upload, activate, etc) and it doesn't seem possible to use an alternate redis lib (since it relies on a particular method signature). Am I understanding this correctly? Anything I can do here?
The text was updated successfully, but these errors were encountered:
@richmolj yes, the redisClient config was created in the context of testing. You could provide your own wrapper around the ioredis, though, which adapts the required method signature appropriately.
I've been attempting to pass my own
redisClient
, so I could use sentinel-awareioredis
. It looks like this won't work, and the injection is only for testing, sinceredisClient
needs decorations provided by this repo (upload
,activate
, etc) and it doesn't seem possible to use an alternate redis lib (since it relies on a particular method signature). Am I understanding this correctly? Anything I can do here?The text was updated successfully, but these errors were encountered: