node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

Add support for redis command: CLIENT REPLY

Open chayim opened this issue 3 years ago • 1 comments

chayim avatar Feb 09 '22 12:02 chayim

Would be nice to be able to at least do this with client.sendCommand(['CLIENT', 'REPLY', 'OFF']) and client.sendCommand(['CLIENT', 'REPLY', 'SKIP']). Currently (as of v5.8) when attempting that, I can see redis server receives the command but then node-redis appears to hang indefinitely.

I'm assuming since is not supported, the "waiting for reply" queue is stuck waiting for replies that are never going to come, and everything backs up. I'm hoping there is some simple way to enable this (by not expecting things to the reply queue) even if full type support is the tricky part (and I don't care about in these scenarios)

infrahead avatar Aug 29 '25 14:08 infrahead