diff options
author | Erik Johnston <erik@matrix.org> | 2020-04-29 16:23:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 16:23:08 +0100 |
commit | 37f6823f5b91f27b9dd8de8fc0e52d5ea889647c (patch) | |
tree | df9a392c3b1d4470185dcfb90e63c1005ef4e4bb /synapse/server.pyi | |
parent | Don't relay REMOTE_SERVER_UP cmds to same conn. (#7352) (diff) | |
download | synapse-37f6823f5b91f27b9dd8de8fc0e52d5ea889647c.tar.xz |
Add instance name to RDATA/POSITION commands (#7364)
This is primarily for allowing us to send those commands from workers, but for now simply allows us to ignore echoed RDATA/POSITION commands that we sent (we get echoes of sent commands when using redis). Currently we log a WARNING on the master process every time we receive an echoed RDATA.
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r-- | synapse/server.pyi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi index fc5886f762..18043a2593 100644 --- a/synapse/server.pyi +++ b/synapse/server.pyi @@ -122,6 +122,8 @@ class HomeServer(object): pass def get_instance_id(self) -> str: pass + def get_instance_name(self) -> str: + pass def get_event_builder_factory(self) -> EventBuilderFactory: pass def get_storage(self) -> synapse.storage.Storage: |