summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-01-18 15:24:04 +0000
committerGitHub <noreply@github.com>2021-01-18 15:24:04 +0000
commitf08ef64926c986f278071f94e29c32e4ad252507 (patch)
treed383a8b44b1f40bcda2426d2f1e73004db8ad5d7 /synapse/replication
parentProperly raise an exception when the body exceeds the max size. (#9145) (diff)
downloadsynapse-f08ef64926c986f278071f94e29c32e4ad252507.tar.xz
Enforce all replication HTTP clients calls use kwargs (#9144)
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/http/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/_base.py b/synapse/replication/http/_base.py
index 1492ac922c..288727a566 100644
--- a/synapse/replication/http/_base.py
+++ b/synapse/replication/http/_base.py
@@ -177,7 +177,7 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
 
         @trace(opname="outgoing_replication_request")
         @outgoing_gauge.track_inprogress()
-        async def send_request(instance_name="master", **kwargs):
+        async def send_request(*, instance_name="master", **kwargs):
             if instance_name == local_instance_name:
                 raise Exception("Trying to send HTTP request to self")
             if instance_name == "master":