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

fix(connection): allow passing connection string into IORedis #2746

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

lukashroch
Copy link
Contributor

Allow option to use/pass connection URL into ioredis directly without having to create connection manually and consequently maintaining it, fixes #1220.

It does not intentionally parse the url (as per #1220 requirement) and delegates URL parsing to ioredis using appropriate constructor. Thus added tests only check established connections, leaving rest up to ioredis.

Copy link
Contributor

@manast manast left a comment

Choose a reason for hiding this comment

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

LGTM, cannot be cleaner than this I think.

Copy link
Collaborator

@roggervalf roggervalf left a comment

Choose a reason for hiding this comment

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

Lgtm

@roggervalf roggervalf merged commit 73005e8 into taskforcesh:master Sep 18, 2024
10 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 18, 2024
## [5.13.1](v5.13.0...v5.13.1) (2024-09-18)

### Bug Fixes

* **connection:** allow passing connection string into IORedis ([#2746](#2746)) ([73005e8](73005e8))
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.

Feature Request: Allow to using redis connection URL to connect directly.
3 participants