Description
As I understand the sentence
The commands that are allowed in the context of a subscribed client are SUBSCRIBE, SSUBSCRIBE, SUNSUBSCRIBE, PSUBSCRIBE, UNSUBSCRIBE, PUNSUBSCRIBE, PING, RESET, and QUIT.
I should not get the error
Cannot send commands in PubSub mode
on a ping call with the redis client
Environment:
- Node.js Version: 18.12.1
- Redis Server Version: 7.0.5
- Node Redis Version: 4.5.1
- Platform: Alpine in Docker (Host MacOS 13.0.1 on Apple M1 Max)