diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-03-10 08:01:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 13:01:56 +0000 |
commit | 3e4af36bc8515504721b3c1b1d64d4f45359bf88 (patch) | |
tree | e39ad5a0a4196056cce920ac906b39ed7417e501 /synapse/server.py | |
parent | Remove dead code in `tests/storage/test_database.py` (#12197) (diff) | |
download | synapse-3e4af36bc8515504721b3c1b1d64d4f45359bf88.tar.xz |
Rename get_tcp_replication to get_replication_command_handler. (#12192)
Since the object it returns is a ReplicationCommandHandler. This is clean-up from adding support to Redis where the command handler was added as an additional layer of abstraction from the TCP protocol.
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py index 46a64418ea..1270abb5a3 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -639,7 +639,7 @@ class HomeServer(metaclass=abc.ABCMeta): return ReadMarkerHandler(self) @cache_in_self - def get_tcp_replication(self) -> ReplicationCommandHandler: + def get_replication_command_handler(self) -> ReplicationCommandHandler: return ReplicationCommandHandler(self) @cache_in_self |