Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix incorrect type when using InvalidateCacheCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Apr 6, 2017
1 parent fcc803b commit 69b3fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/replication/tcp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def send_remove_pusher(self, app_id, push_key, user_id):
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):
Expand Down

0 comments on commit 69b3fd4

Please sign in to comment.