Skip to content

[FEATURE] Flexibility to set socket_timeout for each request to redis #307

@eriktuantran

Description

@eriktuantran

Hi @sewenew
I'm using RedisCluster and running into the situation that different socket_timeout values for each request are needed:

  • When a redis instance is going down, I need the socket_timeout small enough to return the error immediately.
  • When triggering a redis command that takes long time to finished, I need another socket_timeout value that long enough to wait for the reply.

The socket_timeout value will be decided by application. However, it looks like that we can not adjust the socket_timeout for each redis request for now.
It would be great that we can support this feature. How do you think?

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