summary refs log tree commit diff
path: root/synapse/util/retryutils.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-0/+12
| | | | | | Add federation_domain_whitelist gives a way to restrict which domains your HS is allowed to federate with. useful mainly for gracefully preventing a private but internet-connected HS from trying to federate to the wider public Matrix network
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Merge pull request #2050 from matrix-org/rav/federation_backoffRichard van der Hoff2017-03-231-4/+25
|\ | | | | push federation retry limiter down to matrixfederationclient
| * Ignore backoff history for invites, aliases, and roomdirsRichard van der Hoff2017-03-231-2/+11
| | | | | | | | | | Add a param to the federation client which lets us ignore historical backoff data for federation queries, and set it for a handful of operations.
| * push federation retry limiter down to matrixfederationclientRichard van der Hoff2017-03-231-2/+14
| | | | | | | | | | rather than having to instrument everywhere we make a federation call, make the MatrixFederationHttpClient manage the retry limiter.
* | Fix a couple of logcontext leaksRichard van der Hoff2017-03-231-2/+3
|/ | | | | Use preserve_fn to correctly manage the logcontexts around things we don't want to yield on.
* Correctly raise exceptions for ratelimitng. Ratelimit on 401Erik Johnston2017-02-011-3/+5
|
* Remove explicit < 400 check as apparently this is confusingErik Johnston2017-01-311-3/+1
|
* CommentErik Johnston2017-01-311-0/+2
|
* CommentErik Johnston2017-01-311-0/+4
|
* Better handle 404 response for federation /send/Erik Johnston2017-01-311-2/+13
|
* Use correct varErik Johnston2016-11-241-1/+1
|
* Correctly handle 500's and 429 on federationErik Johnston2016-11-241-1/+1
|
* Invalidate retry cache in both directionsErik Johnston2016-11-221-9/+12
|
* Fix retry utils to check if the exception is a subclass of CMEMark Haines2016-07-281-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Retry dead servers a lot less oftenErik Johnston2015-11-021-2/+5
|
* Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-1/+1
|
* Remove unused importErik Johnston2015-02-181-2/+0
|
* Remove spurious comma. Remove temp run_on_reactorErik Johnston2015-02-181-2/+1
|
* Temporarily add a run_on_reactor() callErik Johnston2015-02-181-0/+3
|
* s/self._clock/self.clock/Erik Johnston2015-02-181-1/+1
|
* More docsErik Johnston2015-02-181-1/+5
|
* Docs.Erik Johnston2015-02-181-1/+33
|
* Try to only back off if we think we failed to connect to the remoteErik Johnston2015-02-171-2/+8
|
* Only update destination_retry_timings if we have succeeded when retryingErik Johnston2015-02-171-0/+3
|
* Remove spurious selfErik Johnston2015-02-171-1/+1
|
* Add per server retry limiting.Erik Johnston2015-02-171-0/+108
Factor out the pre destination retry logic from TransactionQueue so it can be reused in both get_pdu and crypto.keyring