0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-16 06:41:06 +01:00
dendrite/syncapi/sync
kegsay 21dd5a7176
syncapi: don't return early for no-op incremental syncs (#2473)
* syncapi: don't return early for no-op incremental syncs

Comments explain why, but basically it's an inefficient use
of bandwidth and some sytests rely on /sync to block.

* Honour timeouts

* Actually return a response with timeout=0
2022-05-19 09:00:56 +01:00
..
request.go Use a value that is Go 1.16-friendly 2022-04-26 17:05:31 +01:00
requestpool.go syncapi: don't return early for no-op incremental syncs (#2473) 2022-05-19 09:00:56 +01:00
requestpool_test.go bugfix: fix race condition when updating presence via /sync (#2470) 2022-05-17 15:53:08 +01:00