mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Use stream_change cache to make get_forward_extremeties_for_room cache more effective
This commit is contained in:
parent
55e6fc917c
commit
cb3edec6af
3 changed files with 19 additions and 2 deletions
|
@ -173,7 +173,10 @@ class SlavedEventStore(BaseSlavedStore):
|
|||
get_room_max_stream_ordering = DataStore.get_room_max_stream_ordering.__func__
|
||||
|
||||
get_forward_extremeties_for_room = (
|
||||
EventFederationStore.__dict__["get_forward_extremeties_for_room"]
|
||||
DataStore.get_forward_extremeties_for_room.__func__
|
||||
)
|
||||
_get_forward_extremeties_for_room = (
|
||||
EventFederationStore.__dict__["_get_forward_extremeties_for_room"]
|
||||
)
|
||||
|
||||
def stream_positions(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue