diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-06 09:36:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-06 09:36:38 +0100 |
commit | 69b3fd485db2da43c15860d4ed41a0be105aab32 (patch) | |
tree | e6348da8a86038fab086df2f1f46116aa7440036 /synapse/replication/tcp/client.py | |
parent | Add log lines (diff) | |
download | synapse-69b3fd485db2da43c15860d4ed41a0be105aab32.tar.xz |
Fix incorrect type when using InvalidateCacheCommand
Diffstat (limited to '')
-rw-r--r-- | synapse/replication/tcp/client.py | 2 |
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): |