socket.io-redis-adapter icon indicating copy to clipboard operation
socket.io-redis-adapter copied to clipboard

fix: add support for legacy mode

Open paveon opened this issue 3 years ago • 0 comments

The latest release checks for Redis v4 but doesn't check if the user enabled legacyMode. If legacyMode is enabled, subscribe functions are causing errors.

Unfortunately the Redis client API currently doesn't offer any way to check if legacy mode is enabled which is the reason why it I have to check it in this hacky way.

paveon avatar May 30 '22 06:05 paveon