synapse/tests/rest/client/sliding_sync
Erik Johnston db975ea10d
Expire sliding sync connections (#19211)
We add some logic to expire sliding sync connections if they get old or
if there is too much pending data to return.

The values of the constants are picked fairly arbitrarily, these are
currently:
1. More than 100 rooms with pending events if the connection hasn't been
used in over an hour
2. The connection hasn't been used for over a week

Reviewable commit-by-commit

---------

Co-authored-by: Eric Eastwood <erice@element.io>
2025-11-25 10:20:47 +00:00
..
__init__.py Sliding Sync: Split and move tests (#17504) 2024-07-31 12:20:46 -05:00
test_connection_tracking.py Expire sliding sync connections (#19211) 2025-11-25 10:20:47 +00:00
test_extension_account_data.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_extension_e2ee.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_extension_receipts.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_extension_thread_subscriptions.py Write union types as X | Y where possible (#19111) 2025-11-06 14:02:33 -06:00
test_extension_to_device.py Use type hinting generics in standard collections (#19046) 2025-10-22 16:48:19 -05:00
test_extension_typing.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_extensions.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_lists_filters.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_room_subscriptions.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_rooms_invites.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_rooms_meta.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_rooms_required_state.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_rooms_timeline.py Write union types as X | Y where possible (#19111) 2025-11-06 14:02:33 -06:00
test_sliding_sync.py Expire sliding sync connections (#19211) 2025-11-25 10:20:47 +00:00