10 Commits

Author SHA1 Message Date
Kegan Dougal
0342a99524 bugfix: prevent clients starving themselves by constantly changing req params
Because the proxy services changes to req params preferentially to live
data, if the client constantly changes the window (e.g due to spidering)
then it can accidentally stop the delivery of live events to the client
until the spidering process is complete. To help address this, we now
process live updates _even if_ we have some data to send to the client.
This is bounded in size to prevent the inverse happening: constantly
seeing new live events which starves changes to req params. This should
hopefully strike the right balance.

With regression test.
2023-07-04 10:52:31 +01:00
David Robertson
a0af4de308
Fix tests to pass t to addAccount 2023-05-16 12:35:35 +01:00
David Robertson
14a3370da6
Merge branch 'main' into dmr/oidc 2023-05-16 12:28:53 +01:00
David Robertson
9982ab24ee
Use different device names for each test 2023-05-15 19:14:09 +01:00
Kegan Dougal
cec3fdc9f6 Correct letters; kick ci 2023-05-11 16:45:59 +01:00
Kegan Dougal
83f574dae0 Comments 2023-05-11 16:36:02 +01:00
Kegan Dougal
0538de09fd stopgap fix 2023-05-11 16:33:32 +01:00
Kegan Dougal
6681c33b90 Add regression test for missing messages bug 2023-05-11 12:49:27 +01:00
Kegan Dougal
aa28df161c Rename package -> github.com/matrix-org/sliding-sync 2022-12-15 11:08:50 +00:00
Kegan Dougal
7dded699a9 bugfix: Fix #11: joining a room races with creating a room subscription 2022-08-02 18:03:40 +01:00