From 23de3af9afebe2ec731662e15cf20a8059f1e73b Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 1 Apr 2020 16:55:51 +0100 Subject: [PATCH] Update docstring of ReplicationDataHandler --- synapse/replication/tcp/client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py index e03b08371c..65e07c301b 100644 --- a/synapse/replication/tcp/client.py +++ b/synapse/replication/tcp/client.py @@ -73,7 +73,10 @@ class ReplicationClientFactory(ReconnectingClientFactory): class ReplicationDataHandler: - """A replication data handler that calls slave data stores. + """A replication data handler handles incoming stream updates from replication. + + This instance notifies the slave data store about updates. Can be subclassed + to handle updates in additional ways. """ def __init__(self, store: BaseSlavedStore):