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

Introduce Async::Redis::Endpoint. #50

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Introduce Async::Redis::Endpoint. #50

merged 1 commit into from
Aug 15, 2024

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Aug 15, 2024

This builds on the existing authentication and database selection protocols.

Introduces a proper foundation for socketry/async-job-processor-redis#1 and perhaps sentinels.

Types of Changes

  • New feature.

Contribution

# @option hostname [String] the hostname to connect to (or bind to), overrides the URL hostname (used for SNI).
# @option port [Integer] the port to bind to, overrides the URL port.
# @option ssl_context [OpenSSL::SSL::SSLContext] the context to use for TLS.
# @option alpn_protocols [Array<String>] the alpn protocols to negotiate.
Copy link
Contributor

@olleolleolle olleolleolle Aug 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Should url, endpoint be documented (in the docblock)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation was kind of messed up. Fixed. Thanks for calling it out.

- Handles authentication and database selection.
@ioquatix ioquatix merged commit 31814b6 into main Aug 15, 2024
10 of 17 checks passed
@ioquatix ioquatix deleted the redis-endpoint branch August 15, 2024 10:35
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

Successfully merging this pull request may close these issues.

2 participants