synapse-product/synapse/storage/databases
Eric Eastwood fb58611d21
Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417)
Part of https://github.com/matrix-org/synapse/issues/11300

Call stack:

 - `_persist_events_and_state_updates` (added `use_negative_stream_ordering`)
    - `_persist_events_txn`
       - `_update_room_depths_txn` (added `update_room_forward_stream_ordering`)
       - `_update_metadata_tables_txn`
          - `_store_room_members_txn` (added `inhibit_local_membership_updates`)

Using keyword-only arguments (`*`) to reduce the mistakes from `backfilled` being left as a positional argument somewhere and being interpreted wrong by our new arguments.
2021-11-29 16:01:54 -06:00
..
main Refactor backfilled into specific behavior function arguments (_persist_events_and_state_updates) (#11417) 2021-11-29 16:01:54 -06:00
state Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
__init__.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00