summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sendtodevice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow guest access to endpoints for E2ERichard van der Hoff2016-11-251-1/+1
| | | | | Expose /devices, /keys, and /sendToDevice to guest users, so that they can use E2E.
* Clean transactions based on time. Add HttpTransactionCache tests.Kegan Dougal2016-11-141-1/+1
|
* Move .observe() up to the cache to make things neaterKegan Dougal2016-11-141-4/+1
|
* Review commentsKegan Dougal2016-11-111-12/+5
|
* Use observable deferreds because they are saneKegan Dougal2016-11-111-3/+4
|
* Flake8Kegan Dougal2016-11-101-1/+1
|
* Store Promise<Response> instead of Response for HTTP API transactionsKegan Dougal2016-11-101-6/+12
| | | | | | | | | | | | | | | | | | This fixes a race whereby: - User hits an endpoint. - No cached transaction so executes main code. - User hits same endpoint. - No cache transaction so executes main code. - Main code finishes executing and caches response and returns. - Main code finishes executing and caches response and returns. This race is common in the wild when Synapse is struggling under load. This commit fixes the race by: - User hits an endpoint. - Caches the promise to execute the main code and executes main code. - User hits same endpoint. - Yields on the same promise as the first request. - Main code finishes executing and returns, unblocking both requests.
* Send device messages over federationMark Haines2016-09-061-26/+7
|
* Fix up the calls to the notifier for device messagesMark Haines2016-09-011-1/+1
|
* Add a replication stream for direct to device messagesMark Haines2016-08-311-2/+8
|
* Add some TODOsMark Haines2016-08-251-0/+4
|
* Fix the deduplication of incoming direct-to-device messagesMark Haines2016-08-251-1/+12
|
* Add store-and-forward direct-to-device messagingMark Haines2016-08-251-0/+69