summary refs log tree commit diff
path: root/synapse/rest/client/transactions.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port over enough to get some sytests running on Python 3 (#3668)Amber Brown2018-08-201-1/+1
|
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
|
* Make auth & transactions more testable (#3499)Amber Brown2018-07-141-23/+22
|
* Consistently use six's iteritems and wrap lazy keys/values in list() if ↵Amber Brown2018-05-311-1/+1
| | | | they're not meant to be lazy (#3307)
* Fix logcontext leak in HttpTransactionCacheRichard van der Hoff2018-05-211-25/+21
| | | | ONE DAY I WILL PURGE THE WORLD OF THIS EVIL
* Stop the transaction cache caching failuresRichard van der Hoff2018-05-211-9/+13
| | | | | | The transaction cache has some code which tries to stop it caching failures, but if the callback function failed straight away, then things would happen backwards and we'd end up with the failure stuck in the cache.
* Ordering is important on errbacks so add the cleanup func before creating an ↵Kegan Dougal2017-02-131-7/+7
| | | | ObservableDeferred
* Pop the txn from the map in case it has already been deleted somehowKegan Dougal2017-02-131-1/+1
|
* Don't cache errors at allKegan Dougal2017-02-131-10/+9
|
* http txns: Do not cache error responsesKegan Dougal2017-02-131-1/+10
| | | | | Previously we did. This meant that, amongst other errors, rate-limiting errors would be cached and prevent messages with that txn ID being sent.
* Fix spurious Unhandled Error log linesErik Johnston2017-01-121-1/+5
|
* Clean transactions based on time. Add HttpTransactionCache tests.Kegan Dougal2016-11-141-5/+19
|
* Move .observe() up to the cache to make things neaterKegan Dougal2016-11-141-5/+4
|
* Review commentsKegan Dougal2016-11-111-0/+85