Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Additional type hints for config module. (#11465) | Patrick Cloke | 2021-12-01 | 1 | -12/+14 |
| | | | | This adds some misc. type hints to helper methods used in the `synapse.config` module. | ||||
* | Add missing type hints to config base classes (#11377) | Patrick Cloke | 2021-11-23 | 1 | -2/+2 |
| | |||||
* | Make sync response cache time configurable. (#10513) | Richard van der Hoff | 2021-08-03 | 1 | -0/+13 |
| | |||||
* | Use inline type hints in various other places (in `synapse/`) (#10380) | Jonathan de Jong | 2021-07-15 | 1 | -2/+2 |
| | |||||
* | Add support for evicting cache entries based on last access time. (#10205) | Erik Johnston | 2021-07-05 | 1 | -29/+41 |
| | |||||
* | Optionally track memory usage of each LruCache (#9881) | Erik Johnston | 2021-05-05 | 1 | -0/+11 |
| | | | | | This will double count slightly in the presence of interned strings. It's off by default as it can consume a lot of resources. | ||||
* | 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>` | ||||
* | Make it possible to use dmypy (#9692) | Erik Johnston | 2021-03-26 | 1 | -2/+4 |
| | | | | | | | | | Running `dmypy run` will do a `mypy` check while spinning up a daemon that makes rerunning `dmypy run` a lot faster. `dmypy` doesn't support `follow_imports = silent` and has `local_partial_types` enabled, so this PR enables those options and fixes the issues that were newly raised. Note that `local_partial_types` will be enabled by default in upcoming mypy releases. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Take out a lock before modifying _CACHES (#7663) | Richard van der Hoff | 2020-06-10 | 1 | -5/+15 |
| | | | | This should fix #7610. | ||||
* | Fix up comments | Erik Johnston | 2020-05-27 | 1 | -2/+2 |
| | |||||
* | Fix specifying cache factors via env vars with * in name. (#7580) | Erik Johnston | 2020-05-27 | 1 | -5/+39 |
| | | | | | This mostly applise to `*stateGroupCache*` and co. Broke in #6391. | ||||
* | Allow configuration of Synapse's cache without using synctl or environment ↵ | Amber Brown | 2020-05-11 | 1 | -0/+164 |
variables (#6391) |