redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.44k stars 1.2k forks source link

keyPrefix appears to not work with `subscribe` #1910

Open ThisIsMissEm opened 3 months ago

ThisIsMissEm commented 3 months ago

The documentation implies that the keyPrefix option should work for subscribe and publish, but in practice, it seems to not.

Screenshot 2024-08-27 at 23 24 14

As you can see, the set commands are correctly prefixed, but the subscribe commands aren't.

ThisIsMissEm commented 3 months ago

This also applies to unsubscribe