You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which feature your question relates to?
caching with Redis
Question details
Is there any variable to lower the timeout with Redis in case Redis is down? Additional context/motivations
Being able to tweak this value allows us to have a single redis instance and connect directly to CH in case it's down (reboots, node changes...) without needing to set up a full redis cluster
currently no.
If you can, you can do a PR to add the ability to change MaxRetries, MinRetryBackoff & MaxRetryBackoff in the redis client using values in the configuration.
This change should not be too difficult since the function creating the redis client takes the configuration in argument https://github.com/ContentSquare/chproxy/blob/master/clients/redis.go#L17
Activity
mga-chka commentedon Nov 4, 2022
currently no.
If you can, you can do a PR to add the ability to change MaxRetries, MinRetryBackoff & MaxRetryBackoff in the redis client using values in the configuration.
This change should not be too difficult since the function creating the redis client takes the configuration in argument
https://github.com/ContentSquare/chproxy/blob/master/clients/redis.go#L17