Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move batch_iter to a separate module | Richard van der Hoff | 2020-01-16 | 1 | -17/+0 |
| | |||||
* | Add kwargs and doc | Brendan Abolivier | 2019-07-29 | 1 | -2/+4 |
| | |||||
* | Add ability to pass arguments to looping calls | Brendan Abolivier | 2019-07-29 | 1 | -2/+2 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | Improve the backwards compatibility re-exports of synapse.logging.context ↵ | Amber Brown | 2019-07-05 | 1 | -5/+1 |
| | | | | | | | | (#5617) * Improve the backwards compatibility re-exports of synapse.logging.context. * reexport logformatter too | ||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -4/+8 |
| | |||||
* | Fix a number of "Starting txn from sentinel context" warnings (#5605) | Richard van der Hoff | 2019-07-03 | 1 | -1/+7 |
| | | | | Fixes #5602, #5603 | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -14/+9 |
| | |||||
* | Anchor returned regex to start and end of string | Erik Johnston | 2018-10-19 | 1 | -2/+6 |
| | |||||
* | Add config option to control alias creation | Erik Johnston | 2018-10-19 | 1 | -0/+21 |
| | |||||
* | Remove unnecessary extra function call layer | Erik Johnston | 2018-10-08 | 1 | -16/+13 |
| | |||||
* | Use errback pattern and catch async failures | Erik Johnston | 2018-10-08 | 1 | -14/+29 |
| | |||||
* | Log looping call exceptions | Erik Johnston | 2018-10-05 | 1 | -1/+18 |
| | | | | | | | | If a looping call function errors, then it kills the loop entirely. Currently it throws away the exception logs, so we should make it actually log them. Fixes #3929 | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -0/+1 |
| | |||||
* | Remove all global reactor imports & pass it around explicitly (#3424) | Amber Brown | 2018-06-25 | 1 | -0/+3 |
| | |||||
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 1 | -12/+20 |
| | |||||
* | Add batch_iter to utils | Adrian Tschira | 2018-05-19 | 1 | -0/+18 |
| | | | | | | | | | There's a frequent idiom I noticed where an iterable is split up into a number of chunks/batches. Unfortunately that method does not work with iterators like dict.keys() in python3. This implementation works with iterators. Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Use deferred.addTimeout instead of time_bound_deferred | Richard van der Hoff | 2018-04-23 | 1 | -56/+0 |
| | | | | This doesn't feel like a wheel we need to reinvent. | ||||
* | fix vars named `l` | Richard van der Hoff | 2017-10-23 | 1 | -3/+3 |
| | | | | E741 says "do not use variables named ‘l’, ‘O’, or ‘I’". | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -6/+6 |
| | | | | what could possibly go wrong | ||||
* | Instantiate DeferredTimedOutError correctly | Richard van der Hoff | 2017-05-02 | 1 | -1/+1 |
| | | | | | | Call `super` correctly, so that we correctly initialise the `errcode` field. Fixes https://github.com/matrix-org/synapse/issues/2179. | ||||
* | Fix time_bound_deferred to throw the right exception | Richard van der Hoff | 2017-03-23 | 1 | -4/+6 |
| | | | | | | Due to a failure to instantiate DeferredTimedOutError, time_bound_deferred would throw a CancelledError when the deferred timed out, which was rather confusing. | ||||
* | Correctly handle timeout errors | Erik Johnston | 2016-12-09 | 1 | -1/+6 |
| | |||||
* | Clean transactions based on time. Add HttpTransactionCache tests. | Kegan Dougal | 2016-11-14 | 1 | -1/+9 |
| | |||||
* | Use SynapseError 504 for Timeout errors | Erik Johnston | 2016-04-15 | 1 | -1/+2 |
| | |||||
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 1 | -3/+0 |
| | | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want | ||||
* | Initial cut | Erik Johnston | 2016-02-17 | 1 | -1/+1 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -4/+2 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Track the cpu used in the main thread by each logging context | Mark Haines | 2015-12-03 | 1 | -2/+1 |
| | |||||
* | Run the background updates when starting synapse. | Mark Haines | 2015-11-10 | 1 | -0/+8 |
| | |||||
* | synapse/util/__init__.py:unwrap_deferred was unused | Mark Haines | 2015-09-22 | 1 | -28/+0 |
| | |||||
* | Refactor the notifier.wait_for_events code to be clearer. Add ↵ | Erik Johnston | 2015-06-18 | 1 | -2/+6 |
| | | | | _NotifierUserStream.new_listener that accpets a token to avoid races. | ||||
* | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 1 | -4/+4 |
| | |||||
* | Refactor _get_events | Erik Johnston | 2015-05-14 | 1 | -0/+28 |
| | |||||
* | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -0/+6 |
| | |||||
* | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 1 | -1/+2 |
| | |||||
* | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -3/+5 |
| | |||||
* | Consume errors in time_bound_deferred | Erik Johnston | 2015-02-17 | 1 | -2/+0 |
| | |||||
* | Fix so timing out connections to actually work. | Erik Johnston | 2015-02-11 | 1 | -9/+43 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-11 | 1 | -1/+9 |
|\ | | | | | | | timeout-federation-requests | ||||
| * | Add looping_call to Clock | Erik Johnston | 2015-02-09 | 1 | -1/+9 |
| | | |||||
* | | Move time_bound_deferred into Clock | Erik Johnston | 2015-02-11 | 1 | -1/+20 |
|/ | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -0/+1 |
| | |||||
* | Sometimes there isn't a current logging context | Mark Haines | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Preserve logging context in a few more places, drop the logging context ↵ | Mark Haines | 2014-11-19 | 1 | -1/+6 |
| | | | | after it has been stashed to reduce potential for confusion | ||||
* | 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/+40 |