Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle HttpResponseException when using federation client. | Erik Johnston | 2019-06-07 | 1 | -2/+2 |
| | | | | Otherwise we just log exceptions everywhere. | ||||
* | Associate a request_name with each verify request, for logging | Richard van der Hoff | 2019-06-05 | 1 | -1/+3 |
| | | | | | | | Also: * rename VerifyKeyRequest->VerifyJsonRequest * calculate key_ids on VerifyJsonRequest construction * refactor things to pass around VerifyJsonRequests instead of 4-tuples | ||||
* | Enforce validity period on server_keys for fed requests. (#5321) | Richard van der Hoff | 2019-06-03 | 1 | -2/+3 |
| | | | | | | | | When handling incoming federation requests, make sure that we have an up-to-date copy of the signing key. We do not yet enforce the validity period for event signatures. | ||||
* | Correctly handle RequestSendFailed exceptions | Erik Johnston | 2019-02-14 | 1 | -1/+6 |
| | | | | This mainly reduces the number of exceptions we log. | ||||
* | Fix some looping_call calls which were broken in #3604 | Richard van der Hoff | 2018-07-26 | 1 | -1/+1 |
| | | | | | | | | | It turns out that looping_call does check the deferred returned by its callback, and (at least in the case of client_ips), we were relying on this, and I broke it in #3604. Update run_as_background_process to return the deferred, and make sure we return it to clock.looping_call. | ||||
* | Wrap a number of things that run in the background | Richard van der Hoff | 2018-07-25 | 1 | -1/+5 |
| | | | | | This will reduce the number of "Starting db connection from sentinel context" warnings, and will help with our metrics. | ||||
* | another typo | Matthew Hodgson | 2018-07-10 | 1 | -1/+1 |
| | |||||
* | typo (i think) | Matthew Hodgson | 2018-07-10 | 1 | -1/+1 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+2 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_background | Richard van der Hoff | 2018-04-27 | 1 | -20/+24 |
|\ | |||||
| * | Improve exception handling for background processes | Richard van der Hoff | 2018-04-27 | 1 | -20/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a bunch of places where we fire off a process to happen in the background, but don't have any exception handling on it - instead relying on the unhandled error being logged when the relevent deferred gets garbage-collected. This is unsatisfactory for a number of reasons: - logging on garbage collection is best-effort and may happen some time after the error, if at all - it can be hard to figure out where the error actually happened. - it is logged as a scary CRITICAL error which (a) I always forget to grep for and (b) it's not really CRITICAL if a background process we don't care about fails. So this is an attempt to add exception handling to everything we fire off into the background. | ||||
* | | Use run_in_background in preference to preserve_fn | Richard van der Hoff | 2018-04-27 | 1 | -2/+2 |
|/ | | | | | | While I was going through uses of preserve_fn for other PRs, I converted places which only use the wrapped function once to use run_in_background, to avoid creating the function object. | ||||
* | Revert "Merge branch 'master' of github.com:matrix-org/synapse into develop" | Erik Johnston | 2017-11-07 | 1 | -1/+10 |
| | | | | | This reverts commit f9b255cd62fe724e16b2222f6af623b2d39282ab, reversing changes made to 1bd654dabde776bbb7ee365c115b307cd6a110b8. | ||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2017-11-07 | 1 | -10/+1 |
|\ | |||||
| * | Revert "Add jitter to validity period of attestations" | Erik Johnston | 2017-10-27 | 1 | -12/+1 |
| | | |||||
* | | Merge branch 'erikj/attestation_jitter' of github.com:matrix-org/synapse ↵ | Erik Johnston | 2017-10-27 | 1 | -1/+11 |
|\| | | | | | | | into develop | ||||
| * | Add jitter to validity period of attestations | Erik Johnston | 2017-10-27 | 1 | -1/+12 |
| | | | | | | | | | | This helps ensure that the renewals of attestations are spread out more evenly. | ||||
* | | Merge branch 'erikj/attestation_local_fix' of github.com:matrix-org/synapse ↵ | Erik Johnston | 2017-10-27 | 1 | -4/+16 |
|\ \ | | | | | | | | | | into develop | ||||
| * | | Import logger | Erik Johnston | 2017-10-27 | 1 | -0/+5 |
| | | | |||||
| * | | Fixup | Erik Johnston | 2017-10-27 | 1 | -3/+3 |
| | | | |||||
| * | | Remove incorrect attestations | Erik Johnston | 2017-10-27 | 1 | -0/+1 |
| | | | |||||
| * | | Log if we try to do attestations for our own user and group | Erik Johnston | 2017-10-27 | 1 | -2/+8 |
| |/ | |||||
* / | Add comment about attestations | Erik Johnston | 2017-10-27 | 1 | -0/+22 |
|/ | |||||
* | Fix typo in group attestation handling | Erik Johnston | 2017-10-19 | 1 | -1/+2 |
| | |||||
* | Fix typo | Erik Johnston | 2017-10-19 | 1 | -1/+1 |
| | |||||
* | Comment | Erik Johnston | 2017-07-11 | 1 | -5/+8 |
| | |||||
* | Typo | Erik Johnston | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | Comments | Erik Johnston | 2017-07-11 | 1 | -2/+2 |
| | |||||
* | Comments | Erik Johnston | 2017-07-11 | 1 | -1/+28 |
| | |||||
* | Initial group server implementation | Erik Johnston | 2017-07-10 | 1 | -0/+120 |