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

Commit

Permalink
Stub out broken function only used for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Mar 1, 2018
1 parent a9a2d66 commit 7c37183
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/storage/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
class SignatureWorkerStore(SQLBaseStore):
@cached()
def get_event_reference_hash(self, event_id):
return self._get_event_reference_hashes_txn(event_id)
# This is a dummy function to allow get_event_reference_hashes
# to use its cache
raise NotImplementedError()

@cachedList(cached_method_name="get_event_reference_hash",
list_name="event_ids", num_args=1)
Expand Down

0 comments on commit 7c37183

Please sign in to comment.