-
Notifications
You must be signed in to change notification settings - Fork 4
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
Simplify API by only using non-const connect callbacks #142
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
There's a typo in |
Well spotted, seems like the spellchecker in CI work quite fine as well. |
Signed-off-by: Björn Svensson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @michael-grunder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The original weirdness was a bit of a hack.
Remove
valkeyAsyncSetConnectCallbackNC
since it was first added in hiredis for backwards-compatibility reasons,and let
valkeyAsyncSetConnectCallback
use the non-const connect callback prototype.Includes the removal of the cluster version
valkeyClusterAsyncSetConnectCallbackNC
and updates of tests.