Improve Redis failure modes (#29405)
While investigating code paths during Redis downtime, I found out that the library by default retries indefinitely for read commmands. This leads to it being stuck in a loop while trying to read anything from Redis. We fix that by disabling retry. Secondly, we adjust the ConnWriteTimeout value slightly from its default of 10s which is a bit too high for normal working conditions. Ref: https://github.com/redis/rueidis/issues/680 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3c6d5f2d47
Коммит
833578741d
@@ -56,7 +56,7 @@ require (
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/prometheus/client_golang v1.19.1
|
||||
github.com/prometheus/client_model v0.6.1
|
||||
github.com/redis/rueidis v1.0.45
|
||||
github.com/redis/rueidis v1.0.50
|
||||
github.com/reflog/dateconstraints v0.2.1
|
||||
github.com/rs/cors v1.11.0
|
||||
github.com/rudderlabs/analytics-go v3.3.3+incompatible
|
||||
|
||||
Ссылка в новой задаче
Block a user