-
Notifications
You must be signed in to change notification settings - Fork 14
Simplify API by only using non-const connect callbacks #142
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
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]>
zuiderkwast
left a comment
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
michael-grunder
left a comment
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.
Some examples were missed when changing the connect callback signature in PR valkey-io#142 to using a non-const context. Add -Werror to the examples Makefile to find issues in CI. Can be disabled by USE_WERROR=0 as when building libvalkey. Signed-off-by: Björn Svensson <[email protected]>
Some examples were missed when changing the connect callback signature in PR #142 to using a non-const context. Add -Werror to the examples Makefile to find issues in CI. Can be disabled by USE_WERROR=0 as when building libvalkey. Signed-off-by: Björn Svensson <[email protected]>
Remove
valkeyAsyncSetConnectCallbackNCsince it was first added in hiredis for backwards-compatibility reasons,and let
valkeyAsyncSetConnectCallbackuse the non-const connect callback prototype.Includes the removal of the cluster version
valkeyClusterAsyncSetConnectCallbackNCand updates of tests.