summary refs log tree commit diff
path: root/synapse/replication/tcp
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-04-06 09:36:38 +0100
committerErik Johnston <erik@matrix.org>2017-04-06 09:36:38 +0100
commit69b3fd485db2da43c15860d4ed41a0be105aab32 (patch)
treee6348da8a86038fab086df2f1f46116aa7440036 /synapse/replication/tcp
parentAdd log lines (diff)
downloadsynapse-69b3fd485db2da43c15860d4ed41a0be105aab32.tar.xz
Fix incorrect type when using InvalidateCacheCommand
Diffstat (limited to 'synapse/replication/tcp')
-rw-r--r--synapse/replication/tcp/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py
index 251d3afcf4..90fb6c1336 100644
--- a/synapse/replication/tcp/client.py
+++ b/synapse/replication/tcp/client.py
@@ -175,7 +175,7 @@ class ReplicationClientHandler(object):
     def send_invalidate_cache(self, cache_func, keys):
         """Poke the master to invalidate a cache.
         """
-        cmd = InvalidateCacheCommand(cache_func, keys)
+        cmd = InvalidateCacheCommand(cache_func.__name__, keys)
         self.send_command(cmd)
 
     def await_sync(self, data):