dendrite/syncapi/storage
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
..
postgres Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
shared Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
sqlite3 Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
tables Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
interface.go Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
storage_test.go Make /messages filterable (#2347) 2022-04-13 13:16:02 +02:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00