mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Stub out broken function only used for cache
This commit is contained in:
parent
a9a2d66cdd
commit
7c371834cc
@ -25,7 +25,9 @@ from synapse.util.caches.descriptors import cached, cachedList
|
|||||||
class SignatureWorkerStore(SQLBaseStore):
|
class SignatureWorkerStore(SQLBaseStore):
|
||||||
@cached()
|
@cached()
|
||||||
def get_event_reference_hash(self, event_id):
|
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",
|
@cachedList(cached_method_name="get_event_reference_hash",
|
||||||
list_name="event_ids", num_args=1)
|
list_name="event_ids", num_args=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user