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

jinja caching won't have exception while having redis failure #564

Open
dzpt opened this issue May 9, 2024 · 0 comments · May be fixed by #565
Open

jinja caching won't have exception while having redis failure #564

dzpt opened this issue May 9, 2024 · 0 comments · May be fixed by #565

Comments

@dzpt
Copy link

dzpt commented May 9, 2024

I constantly got this error inside of jinja file
using {% cache 900,'home' %}{% endcache %}

redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

It breaks the whole page if there is error in redis.

python 3.8.1
flask-caching 2.2.0

@dzpt dzpt changed the title jinja caching won't have exception jinja caching won't have exception while having redis failure May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant