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: default redis url to empty and handle reconnects #7540

Merged
merged 7 commits into from
Oct 14, 2022

Conversation

alexgarel
Copy link
Member

@alexgarel alexgarel commented Oct 13, 2022

As in dev people don't necessarily have openfoodfacts-search running

We also changed lib to Redis which is better maintained, and handle connection timeout.

@alexgarel alexgarel requested a review from a team as a code owner October 13, 2022 14:36
@alexgarel alexgarel changed the title build: default redis url to empty fix default redis url to empty and handle reconnects Oct 13, 2022
@alexgarel alexgarel changed the title fix default redis url to empty and handle reconnects fix: default redis url to empty and handle reconnects Oct 13, 2022
@alexgarel
Copy link
Member Author

FYI @simonj2

As in dev people don't necessarily have openfoodfacts-search running
and better (not perfect) handling of redis connection
Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Looks good, but suggested a way to make the code easier to understand.

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you!

@sonarcloud
Copy link

sonarcloud bot commented Oct 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@alexgarel alexgarel merged commit ced62e8 into main Oct 14, 2022
@alexgarel alexgarel deleted the ag-fix-redis-default-url branch October 14, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants