mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 04:04:04 -05:00
Store federation stream positions in the database
This commit is contained in:
parent
f8ee66250a
commit
7c9cdb2245
6 changed files with 95 additions and 25 deletions
|
|
@ -187,6 +187,9 @@ class SlavedEventStore(BaseSlavedStore):
|
|||
|
||||
get_all_new_events_stream = DataStore.get_all_new_events_stream.__func__
|
||||
|
||||
get_federation_out_pos = DataStore.get_federation_out_pos.__func__
|
||||
update_federation_out_pos = DataStore.update_federation_out_pos.__func__
|
||||
|
||||
def stream_positions(self):
|
||||
result = super(SlavedEventStore, self).stream_positions()
|
||||
result["events"] = self._stream_id_gen.get_current_token()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue