mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 10:05:55 +03:00
fb58611d21
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.
1 line
124 B
Text
1 line
124 B
Text
Refactor `backfilled` into specific behavior function arguments (`_persist_events_and_state_updates` and downstream calls).
|