Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PING - optional argument #53

Open
dominics opened this issue Jun 8, 2017 · 0 comments
Open

Implement PING - optional argument #53

dominics opened this issue Jun 8, 2017 · 0 comments

Comments

@dominics
Copy link
Contributor

dominics commented Jun 8, 2017

The PING command is useful for checking for underlying timeouts, connection issues, dead server nodes, etc. PING appears to be implemented the same as Redis's PING (but I've asked upstream whether it's likely to be supported long-term.)

It works like this:

127.0.0.1:7711> PING
PONG
127.0.0.1:7711> PING something
"something"

This means that the PING command takes one optional string argument. It appears that neither ARGUMENTS_TYPE_STRING nor ARGUMENTS_TYPE_EMPTY quite covers this type of command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant