Skip to content

Conversation

@delcroip
Copy link
Member

@delcroip delcroip commented Sep 10, 2025

While I was testing I got a connection error because the redis server that was configured was not up, therefore I added that to avoid blocking the app in such case

@delcroip delcroip requested review from weilu and removed request for weilu September 10, 2025 10:10
@delcroip delcroip requested review from mngoe and weilu September 10, 2025 13:22
Copy link
Contributor

@weilu weilu left a comment

Choose a reason for hiding this comment

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

@delcroip If USE_CACHE = True but redis is not up then it's a config error; suppressing it would violate the "fail fast" rule. I'd suggest instead check in settings and raise with a meaningful message if USE_CACHE = True and redis is not reachable, so the app wouldn't even start if it's misconfigured.

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.

3 participants