Skip to content

Provision to skip caching immediately if not able to make connection with Redis #177

@shijo-keyvalue

Description

@shijo-keyvalue

Hi , when its unable to connect to redis using the connections parameters provided , API is taking around 20 seconds before it skips caching.
Is there any way in which we can reduce the time taken before caching is getting skipped ?
I have a requirement to immediately skip the cache if redis connection cannot be established.

I have tried this. But it didn't worked.

cache.setup(redis_connection_url,retry_on_timeout=False, socket_connect_timeout=0.1)

Any insights or recommendations on how to address this would be greatly appreciated.

Thank you in advance for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions