anonymousland-synapse/changelog.d/9218.bugfix
Erik Johnston a1ff1e967f
Periodically send pings to detect dead Redis connections (#9218)
This is done by creating a custom `RedisFactory` subclass that
periodically pings all connections in its pool.

We also ensure that the `replyTimeout` param is non-null, so that we
timeout waiting for the reply to those pings (and thus triggering a
reconnect).
2021-01-26 10:54:54 +00:00

2 lines
111 B
Plaintext

Fix bug where we sometimes didn't detect that Redis connections had died, causing workers to not see new data.