synapse/tests/rest
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
..
admin Write union types as X | Y where possible (#19111) 2025-11-06 14:02:33 -06:00
client Expire sliding sync connections (#19211) 2025-11-25 10:20:47 +00:00
key Write union types as X | Y where possible (#19111) 2025-11-06 14:02:33 -06:00
media Write union types as X | Y where possible (#19111) 2025-11-06 14:02:33 -06:00
synapse Use type hinting generics in standard collections (#19046) 2025-10-22 16:48:19 -05:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_health.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_well_known.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00