antirez / disque

Disque is a distributed message broker
BSD 3-Clause "New" or "Revised" License
8.01k stars 538 forks source link

Is the PING command intended for end-user use? #202

Open dominics opened 7 years ago

dominics commented 7 years ago

Is the PING command intended to be a supported command that end-users are expected to use, or is it only implemented in order to PING/PONG over the cluster bus?

I'm hoping the former (because I'd like to PING to check for an underlying client socket timeout), but it's not in the list of commands so I thought I'd ask. The fact that I can't access definitely-internal commands (e.g. SETACK) over the client port is a good sign for PING being supported, I think. My fingers are crossed 🤞