-
Notifications
You must be signed in to change notification settings - Fork 674
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
NOISSUE - Refactor Redis URI #1898
Conversation
ca41ec8
to
ed96000
Compare
ed96000
to
2820ace
Compare
Codecov Report
@@ Coverage Diff @@
## master #1898 +/- ##
==========================================
+ Coverage 67.14% 67.25% +0.11%
==========================================
Files 120 126 +6
Lines 9145 9436 +291
==========================================
+ Hits 6140 6346 +206
- Misses 2368 2431 +63
- Partials 637 659 +22
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
995910f
to
e458830
Compare
e215cf6
to
a84bb0d
Compare
a9e483d
to
9ad7df1
Compare
Signed-off-by: rodneyosodo <blackd0t@protonmail.com> Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
Use a single Redis URI to connect to Redis where the URI contains host, port, database and possibly username and password. This is to simplify environment variable configuration. Signed-off-by: Rodney Osodo <socials@rodneyosodo.com> Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
9ad7df1
to
71c6711
Compare
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
Signed-off-by: Rodney Osodo socials@rodneyosodo.com
What does this do?
Use one environment variable which is redis URI to get information about the username, password, host, port and database rather than separate environment variables
Which issue(s) does this PR fix/relate to?
No issue
List any changes that modify/break current functionality
None - Move from 3 config variables for redis to one
Have you included tests for your changes?
No
Did you document any new/modified functionality?
Yes
Notes
N/A