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).
2 lines
111 B
Plaintext
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.
|