Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing type hints to test.util.caches (#14529) | Patrick Cloke | 2022-11-22 | 1 | -30/+31 |
| | |||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -1/+1 |
| | |||||
* | ObservableDeferred: run observers in order (#11229) | Richard van der Hoff | 2021-11-02 | 1 | -3/+1 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -1/+4 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Empty iterables should count towards cache usage. (#9028) | Patrick Cloke | 2021-01-06 | 1 | -23/+50 |
| | |||||
* | Add some more tests | Richard van der Hoff | 2020-10-21 | 1 | -0/+95 |
| | |||||
* | Push some deferred wrangling down into DeferredCache | Richard van der Hoff | 2020-10-21 | 1 | -9/+9 |
| | |||||
* | Add `DeferredCache.get_immediate` method (#8568) | Richard van der Hoff | 2020-10-19 | 1 | -4/+23 |
| | | | | | | | | | | | * Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance | ||||
* | Combine the two sets of DeferredCache tests | Richard van der Hoff | 2020-10-14 | 1 | -2/+75 |
| | |||||
* | move DeferredCache into its own module | Richard van der Hoff | 2020-10-14 | 1 | -0/+64 |