-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
Conversation
FYI @simonj2 |
As in dev people don't necessarily have openfoodfacts-search running
and better (not perfect) handling of redis connection
95e9192
to
45b7e37
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.
Looks good, but suggested a way to make the code easier to understand.
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.
Looks good to me, thank you!
Kudos, SonarCloud Quality Gate passed! |
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.