synapse-product/synapse/replication/tcp
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
..
streams Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
__init__.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
client.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
commands.py Make event persisters periodically announce position over replication. (#8499) 2020-10-12 15:51:41 +01:00
handler.py Periodically send pings to detect dead Redis connections (#9218) 2021-01-26 10:54:54 +00:00
protocol.py Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
redis.py Periodically send pings to detect dead Redis connections (#9218) 2021-01-26 10:54:54 +00:00
resource.py Don't unnecessarily start bg process in replication sending loop. (#8670) 2020-10-27 17:37:08 +00:00