Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |