Skip to content

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

Open
@dzpt

Description

@dzpt

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions