0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-17 17:33:43 +01:00
dendrite/syncapi/sync
Till 21ee5b36a4
Limit presence in /sync responses (#2394)
* Use filter and limit presence count

* More limiting

* More limiting

* Fix unit test

* Also limit presence by last_active_ts

* Update query, use "from" as the initial lastPos

* Get 1000 presence events, they are filtered later

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-04-28 15:12:40 +01:00
..
request.go Use a value that is Go 1.16-friendly 2022-04-26 17:05:31 +01:00
requestpool.go Don't create fictitious presence entries (#2381) 2022-04-27 11:25:07 +01:00
requestpool_test.go Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00