summary refs log tree commit diff
path: root/synapse/handlers/sliding_sync/store.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Sliding sync: Store the per-connection state in the database. (#17599)Erik Johnston2024-08-291-107/+35
| | | | | | | Based on #17600 --------- Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
* Sliding Sync: Make `PerConnectionState` immutable (#17600)Erik Johnston2024-08-291-4/+4
| | | | | | | | | | | | | | | | | This is so that we can cache it. We also move the sliding sync types to `synapse/types/handlers/sliding_sync.py`. This is mainly in-prep for #17599 to avoid circular imports. The only change in behaviour is that `RoomSyncConfig.combine_sync_config(..)` now returns a new room sync config rather than mutating in-place. Reviewable commit-by-commit. --------- Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
* Sliding sync: Split up handler into its own module (#17595)Erik Johnston2024-08-201-0/+200
That file was getting long. The changes are non functional, and simply split things up into: - the main class - the connection store - the extensions - the types