Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backport deferred.addTimeout | Richard van der Hoff | 2018-04-27 | 1 | -0/+67 |
| | | | | Twisted 16.0 doesn't have addTimeout, so let's backport it. | ||||
* | Remove preserve_context_over_{fn, deferred} | Richard van der Hoff | 2017-11-14 | 1 | -3/+3 |
| | | | | | Both of these functions ae known to leak logcontexts. Replace the remaining calls to them and kill them off. | ||||
* | Logging and logcontext fixes for Limiter | Richard van der Hoff | 2017-11-07 | 1 | -7/+17 |
| | | | | | | | | | Add some logging to the Limiter in a similar spirit to the Linearizer, to help debug issues. Also fix a logcontext leak. Also refactor slightly to avoid throwing exceptions. | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -3/+3 |
| | | | | what could possibly go wrong | ||||
* | Fix logcontext handling for persist_events | Richard van der Hoff | 2017-10-17 | 1 | -0/+5 |
| | | | | | | | | * don't use preserve_context_over_deferred, which is known broken. * remove a redundant preserve_fn. * add/improve some comments | ||||
* | Fix stackoverflow and logcontexts from linearizer | Richard van der Hoff | 2017-10-11 | 1 | -2/+22 |
| | | | | | | | 1. make it not blow out the stack when there are more than 50 things waiting for a lock. Fixes https://github.com/matrix-org/synapse/issues/2505. 2. Make it not mess up the log contexts. | ||||
* | Fix logcontext handling for concurrently_execute | Richard van der Hoff | 2017-10-06 | 1 | -2/+2 |
| | | | | Avoid preserve_context_over_deferred, which is broken. | ||||
* | Docs | Erik Johnston | 2017-03-30 | 1 | -0/+5 |
| | |||||
* | Don't convert to deferreds when not necessary | Erik Johnston | 2017-03-30 | 1 | -1/+1 |
| | |||||
* | Add paranoia exception catch in Linearizer | Erik Johnston | 2017-01-10 | 1 | -2/+5 |
| | |||||
* | More logging for the linearizer and for get_events | Mark Haines | 2017-01-05 | 1 | -2/+11 |
| | |||||
* | s/aquire/acquire/g | Mark Haines | 2016-12-30 | 1 | -1/+1 |
| | |||||
* | Add more useful logging when we block fetching events | Mark Haines | 2016-12-30 | 1 | -0/+5 |
| | |||||
* | Comments | Erik Johnston | 2016-11-11 | 1 | -0/+13 |
| | |||||
* | Add Limiter: limit concurrent access to resource | Erik Johnston | 2016-11-10 | 1 | -0/+45 |
| | |||||
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 1 | -4/+5 |
| | |||||
* | Add ReadWriteLock | Erik Johnston | 2016-07-05 | 1 | -0/+82 |
| | |||||
* | Small optimisation to CacheListDescriptor | Erik Johnston | 2016-06-03 | 1 | -0/+9 |
| | |||||
* | Rename things | Erik Johnston | 2016-04-07 | 1 | -5/+5 |
| | |||||
* | Log contexts and squash things together | Erik Johnston | 2016-04-07 | 1 | -17/+15 |
| | |||||
* | Add comment | Erik Johnston | 2016-04-07 | 1 | -0/+8 |
| | |||||
* | Deduplicate joins | Erik Johnston | 2016-04-07 | 1 | -0/+42 |
| | |||||
* | Comment | Erik Johnston | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Add concurrently_execute function | Erik Johnston | 2016-04-01 | 1 | -1/+31 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -3/+8 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Make @cached cache deferreds rather than the deferreds' values | Erik Johnston | 2015-08-06 | 1 | -2/+7 |
| | |||||
* | Add comment on cancellation of observers | Erik Johnston | 2015-06-19 | 1 | -0/+3 |
| | |||||
* | Refactor the notifier.wait_for_events code to be clearer. Add ↵ | Erik Johnston | 2015-06-18 | 1 | -2/+11 |
| | | | | _NotifierUserStream.new_listener that accpets a token to avoid races. | ||||
* | Merge pull request #143 from matrix-org/erikj/SYN-375 | Mark Haines | 2015-05-12 | 1 | -12/+48 |
|\ | | | | | SYN-375 - Lots of unhandled deferred exceptions. | ||||
| * | Change the way we create observers to deferreds so that we don't get spammed ↵ | Erik Johnston | 2015-05-08 | 1 | -12/+48 |
| | | | | | | | | by 'unhandled errors' | ||||
* | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -4/+2 |
|/ | |||||
* | Implement create_observer. | Erik Johnston | 2015-04-27 | 1 | -0/+19 |
| | | | | | | `create_observer` takes a deferred and create a new deferred that *observers* the original deferred. Any callbacks added to the observing deferred will *not* affect the origin deferred. | ||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -0/+2 |
| | |||||
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py | ||||
| * | Add a run_on_reactor function | Erik Johnston | 2014-10-29 | 1 | -0/+7 |
| | | |||||
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -1/+4 |
|/ | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+22 |