summary refs log tree commit diff
path: root/synapse/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add optimisation to `StreamChangeCache` (#17130)Erik Johnston2024-05-061-1/+19
* Fix bug where `StreamChangeCache` would not respect cache factors (#17152)Erik Johnston2024-05-031-1/+1
* Ensure that pending to-device events are sent over federation at startup (#16...Richard van der Hoff2024-03-221-3/+41
* Bump mypy from 1.5.1 to 1.8.0 (#16901)dependabot[bot]2024-03-133-12/+4
* Bump black from 23.10.1 to 24.2.0 (#16936)dependabot[bot]2024-03-135-37/+20
* Don't invalidate the entire event cache when we purge history (#16905)Erik Johnston2024-02-131-0/+59
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-2337-0/+43
* Update license headersPatrick Cloke2023-11-2141-420/+655
* Speed up how quickly we launch new tasks (#16660)Erik Johnston2023-11-171-1/+1
* Reduce task concurrency (#16656)Erik Johnston2023-11-171-1/+1
* Speed up deleting device messages (#16643)Erik Johnston2023-11-161-1/+1
* Speed up persisting large number of outliers (#16649)Erik Johnston2023-11-161-0/+51
* Use full GitHub links instead of bare issue numbers. (#16637)Patrick Cloke2023-11-151-1/+2
* Collect information for PushRuleEvaluator in parallel. (#16590)Patrick Cloke2023-11-061-0/+14
* Bump twisted from 23.8.0 to 23.10.0 (#16588)dependabot[bot]2023-11-011-1/+1
* Fix type hint errors from Twisted trunk (#16526)Patrick Cloke2023-10-231-5/+11
* Fix a bug where servers could be marked as up when they were failing (#16506)Patrick Cloke2023-10-171-13/+17
* mypy plugin to check `@cached` return types (#14911)David Robertson2023-10-021-9/+55
* Only use literal strings for process names (#16315)Erik Johnston2023-09-151-3/+1
* Some minor performance fixes for task schedular (#16313)Erik Johnston2023-09-141-30/+70
* Improve type hints for attrs classes (#16276)David Robertson2023-09-084-33/+32
* Fix bug with new task scheduler using lots of CPU. (#16278)Erik Johnston2023-09-081-21/+22
* Merge remote-tracking branch 'origin/release-v1.92' into developPatrick Cloke2023-09-061-22/+0
|\
| * Merge remote-tracking branch 'origin/release-v1.91' into release-v1.92Patrick Cloke2023-09-061-22/+0
| |\
| | * Revert MSC3861 introspection cache, admin impersonation and account lock (#16...Quentin Gliech2023-09-061-22/+0
* | | Delete device messages asynchronously and in staged batches (#16240)Mathieu Velten2023-09-061-10/+7
* | | Bump twisted from 22.10.0 to 23.8.0 (#16235)dependabot[bot]2023-09-051-1/+1
|/ /
* | Don't wake up destination transaction queue if they're not due for retry. (#1...Erik Johnston2023-09-041-0/+25
* | Don't reset retry timers on "valid" error codes (#16221)Erik Johnston2023-09-041-2/+16
* | Describe which rate limiter was hit in logs (#16135)David Robertson2023-08-301-1/+2
* | Bump mypy-zope & mypy. (#16188)Patrick Cloke2023-08-291-3/+3
* | Task scheduler: add replication notify for new task to launch ASAP (#16184)Mathieu Velten2023-08-281-49/+43
* | Fix typechecking with twisted trunk (#16121)David Robertson2023-08-241-1/+1
|/
* Task scheduler: mark task as active if we are scheduling ASAP (#16165)Mathieu Velten2023-08-231-1/+3
* Add an admin endpoint to allow authorizing server to signal token revocations...Shay2023-08-221-0/+22
* Implements a task scheduler for resumable potentially long running tasks (#15...Mathieu Velten2023-08-211-0/+364
* Attempt to fix twisted trunk (#16115)David Robertson2023-08-151-1/+3
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-153-3/+4
* Allow config of the backoff algorithm for the federation client. (#15754)Mathieu Velten2023-08-031-13/+16
* Add metrics tracking for eviction to ResponseCache (#16028)Jason Little2023-08-011-2/+8
* Remove support for Python 3.7 (#15851)Eric Eastwood2023-07-051-4/+1
* Prefill events after invalidate not before when persisting events (#15758)Jason Little2023-06-141-1/+7
* Document `looping_call()` functionality that will wait for the given function...Eric Eastwood2023-06-131-0/+5
* Clear event caches when we purge history (#15609)Erik Johnston2023-06-081-1/+1
* Add stricter mypy options (#15694)Patrick Cloke2023-05-313-7/+5
* Process previously failed backfill events in the background (#15585)Eric Eastwood2023-05-241-0/+27
* Improve type hints for cached decorator. (#15658)Patrick Cloke2023-05-241-2/+4
* Fix `HomeServer`s leaking during `trial` test runs (#15630)Sean Quah2023-05-191-1/+5
* Re-type config paths in `ConfigError`s to be `StrSequence`s (#15615)Sean Quah2023-05-181-15/+9
* Clean up and clarify "Create or modify Account" Admin API documentation (#15544)Andrew Morgan2023-05-051-1/+5
* Use immutabledict instead of frozendict (#15113)David Robertson2023-03-222-15/+11
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-223-3/+1
* Remove unnecessary reactor reference from `_PerHostRatelimiter` (#14842)Sean Quah2023-01-161-8/+2
* Fix stack overflow in `_PerHostRatelimiter` due to synchronous requests (#14812)Sean Quah2023-01-131-9/+25
* Batch up replication requests to request the resyncing of remote users's devi...reivilibre2023-01-101-4/+51
* Support RFC7636 PKCE in the OAuth 2.0 flow. (#14750)Patrick Cloke2023-01-041-0/+7
* Add missing type hints to tests.config. (#14681)Patrick Cloke2022-12-161-7/+2
* Improve type annotations for the helper methods on a `CachedFunction`. (#14685)reivilibre2022-12-161-3/+3
* Make `handle_new_client_event` throws `PartialStateConflictError` (#14665)Mathieu Velten2022-12-151-4/+10
* Respond with proper error responses on unknown paths. (#14621)Patrick Cloke2022-12-081-2/+4
* Check the stream position before checking if the cache is empty. (#14639)Patrick Cloke2022-12-081-4/+5
* Better return type for `get_all_entities_changed` (#14604)Erik Johnston2022-12-051-15/+37
* Compare to the earliest known stream pos in the stream change cache. (#14435)Patrick Cloke2022-12-051-26/+116
* Batch fetch bundled annotations (#14491)Patrick Cloke2022-11-221-1/+1
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-169-16/+18
* Remove duplicated code to evict entries. (#14410)Patrick Cloke2022-11-101-9/+2
* Refactor MSC3030 `/timestamp_to_event` to move away from our snowflake pull f...Eric Eastwood2022-10-261-1/+1
* Save login tokens in database (#13844)Quentin Gliech2022-10-261-86/+1
* Remove unused `@lru_cache` decorator (#13595)Nick Mills-Barrett2022-10-251-104/+0
* Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)dependabot[bot]2022-10-192-3/+3
* Making parse_server_name more consistent (#14007)Abdullah Osama2022-10-111-2/+2
* Always close _all_ `ijson` coroutines, even if doing so raises Exceptions (#1...David Robertson2022-10-061-1/+13
* Don't require `setuptools_rust` at runtime (#13952)David Robertson2022-09-291-1/+16
* Fix `have_seen_event` cache not being invalidated (#13863)Eric Eastwood2022-09-271-0/+6
* Add cache invalidation across workers to module API (#13667)Mathieu Velten2022-09-211-7/+7
* Fix a memory leak when running the unit tests. (#13798)reivilibre2022-09-142-6/+7
* Check if Rust lib needs rebuilding. (#13759)Erik Johnston2022-09-121-0/+84
* Fix cache metrics not being updated when not using the legacy exposition modu...reivilibre2022-09-082-14/+80
* Update Grafana dashboard to not use legacy metric names. (#13714)reivilibre2022-09-061-2/+2
* Generalise the `@cancellable` annotation so it can be used on functions other...reivilibre2022-08-311-0/+56
* Merge branch 'release-v1.66' into developDavid Robertson2022-08-301-31/+124
|\
| * Fix rate limit metrics registering twice and misreporting (#13649)Eric Eastwood2022-08-301-31/+124
* | Add experimental configuration option to allow disabling legacy Prometheus me...reivilibre2022-08-241-8/+8
* | Speed up `@cachedList` (#13591)Erik Johnston2022-08-233-141/+297
* | Cache user IDs instead of profile objects (#13573)Nick Mills-Barrett2022-08-231-7/+19
|/
* Fix incorrect juggling of logging contexts in `_PerHostRatelimiter` (#13554)Sean Quah2022-08-181-10/+7
* Track number of hosts affected by the rate limiter (#13541)Eric Eastwood2022-08-181-4/+39
* Add metrics to track how the rate limiter is affecting requests (sleep/reject...Eric Eastwood2022-08-171-8/+29
* Add metrics to track rate limiter queue timing (#13544)Eric Eastwood2022-08-171-0/+30
* Instrument `FederationStateIdsServlet` - `/state_ids` (#13499)Eric Eastwood2022-08-151-0/+4
* Optimise async get event lookups (#13435)Nick Mills-Barrett2022-08-041-0/+17
* Rename `RateLimitConfig` to `RatelimitSettings` (#13442)Dirk Klimpel2022-08-031-3/+3
* Make DictionaryCache have better expiry properties (#13292)Erik Johnston2022-07-213-33/+313
* Async get event cache prep (#13242)Nick Mills-Barrett2022-07-151-0/+38
* Type `tests.utils` (#13028)David Robertson2022-07-052-2/+6
* Move the "email unsubscribe" resource, refactor the macaroon generator & simp...Quentin Gliech2022-06-141-0/+308
* Fix Synapse git info missing in version strings (#12973)David Robertson2022-06-071-0/+6
* Fix caching behavior for relations push rules. (#12859)Patrick Cloke2022-05-251-7/+8
* Fix `RetryDestinationLimiter` re-starting finished log contexts (#12803)Sean Quah2022-05-191-2/+2
* Discard null-containing strings before updating the user directory (#12762)David Robertson2022-05-181-1/+9
* Add config flags to allow for cache auto-tuning (#12701)Shay2022-05-131-10/+69
* Immediately retry any requests that have backed off when a server comes back ...Erik Johnston2022-05-102-1/+80
* Use `ParamSpec` in a few places (#12667)David Robertson2022-05-094-29/+72
* Prevent memory leak from reoccurring when presence is disabled. (#12656)Erik Johnston2022-05-061-13/+26
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-1/+1
* Consistently use collections.abc.Mapping to check frozendict. (#12564)Patrick Cloke2022-04-271-1/+2
* Update `delay_cancellation` to accept any awaitable (#12468)Sean Quah2022-04-221-10/+42
* Fix edge case where a `Linearizer` could get stuck (#12358)Sean Quah2022-04-051-1/+5
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-77/+67
* Add more type hints to the main state store. (#12267)Patrick Cloke2022-03-311-2/+4
* Bump `black` and `click` versions (#12320)David Robertson2022-03-292-8/+11
* Try to detect borked package installations. (#12244)David Robertson2022-03-181-1/+23
* Add cancellation support to `@cached` and `@cachedList` decorators (#12183)Sean Quah2022-03-141-0/+11
* Add cancellation support to `ReadWriteLock` (#12120)Sean Quah2022-03-141-31/+40
* Add `delay_cancellation` utility function (#12180)Sean Quah2022-03-141-6/+42
* Implement a Jinja2 filter to extract localparts from email addresses (#12212)Brendan Abolivier2022-03-111-0/+5
* Remove unnecessary pass statements. (#12206)Patrick Cloke2022-03-111-2/+0
* Remove workaround introduced in Synapse v1.50.0rc1 for Mjolnir compatibility....reivilibre2022-03-101-7/+0
* Allow for ignoring some arguments when caching. (#12189)Patrick Cloke2022-03-091-16/+58
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2022-03-081-1/+2
|\
| * Fix a bug introduced in 1.54.0rc1 which meant that Synapse would refuse to st...reivilibre2022-03-081-1/+2
* | Merge remote-tracking branch 'origin/release-v1.54' into developRichard van der Hoff2022-03-041-7/+54
|\|
| * Don't impose version checks on dev extras at runtime (#12129)David Robertson2022-03-031-7/+54
* | Add type hints for `ObservableDeferred` attributes (#12159)Sean Quah2022-03-041-3/+11
|/
* Use importlib.metadata to read requirements (#12088)David Robertson2022-03-011-0/+127
* Fix rare error in `ReadWriteLock` when writers complete immediately (#12105)Sean Quah2022-03-011-1/+4
* Add `stop_cancellation` utility function (#12106)Sean Quah2022-03-011-0/+19
* Fix 'Unhandled error in Deferred' (#12089)Richard van der Hoff2022-03-011-32/+32
* Improve exception handling for concurrent execution (#12109)Richard van der Hoff2022-03-012-23/+35
* Upgrade mypy to version 0.931 (#12030)Sean Quah2022-02-182-5/+9
* Track cache invalidations (#12000)Erik Johnston2022-02-153-1/+9
* Use version string helper from matrix-common (#11979)David Robertson2022-02-141-85/+0
* Add missing type hints to synapse.replication. (#11938)Patrick Cloke2022-02-081-3/+2
* Add a callback to allow modules to deny 3PID (#11854)Brendan Abolivier2022-02-081-1/+12
* Describe `prune_unread_entries` in docstrings (#11876)David Robertson2022-02-023-2/+17
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-132-9/+8
* Work around Mjolnir compatibility issue by adding an import for `glob_to_rege...reivilibre2022-01-061-0/+7
* Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11...reivilibre2022-01-051-58/+1
* Update to the current version of Black and run it on Synapse codebase (#11596)Shay2021-12-231-1/+0
* Improve opentracing support for `ResponseCache` (#11607)Richard van der Hoff2021-12-202-36/+113
* Add missing type hints to `synapse.logging.context` (#11556)Sean Quah2021-12-143-1/+58
* Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common`...Sean Quah2021-12-071-1/+58
* Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)Sean Quah2021-12-061-58/+1
* Clean-up get_version_string (#11468)Patrick Cloke2021-12-011-57/+25
* Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)Sean Quah2021-11-301-1/+4
* Eliminate a few `Any`s in `LruCache` type hints (#11453)Sean Quah2021-11-303-19/+31
* Merge branch 'master' into developSean Quah2021-11-231-7/+14
|\
| * Prevent the media store from writing outside of the configured directorySean Quah2021-11-191-7/+14
* | Add type annotations to `synapse.metrics` (#10847)Sean Quah2021-11-172-8/+9
* | Add most missing type hints to synapse.util (#11328)Patrick Cloke2021-11-168-81/+157
* | Add more type hints to synapse.util. (#11321)Patrick Cloke2021-11-121-12/+20
* | Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-103-9/+9
|/
* ObservableDeferred: run observers in order (#11229)Richard van der Hoff2021-11-021-16/+18
* Move DNS lookups into separate thread pool (#11177)Erik Johnston2021-10-261-0/+136
* Relax `ignore-missing-imports` for modules that have stubs now and update myp...David Robertson2021-10-081-1/+4
* Fix long-standing bug where `ReadWriteLock` could drop logging contexts (#10993)Sean Quah2021-10-081-2/+4
* More types for synapse.util, part 1 (#10888)David Robertson2021-10-0610-73/+109
* Use direct references for configuration variables (part 7). (#10959)Patrick Cloke2021-10-041-2/+2
* Update utility code to handle C implementations of frozendict (#10902)Hillery Shay2021-09-281-1/+7
* Encode JSON responses on a thread in C, mk2 (#10905)Erik Johnston2021-09-281-2/+17
* Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826)David Robertson2021-09-223-3/+20
* Track why we're evicting from caches (#10829)David Robertson2021-09-223-15/+30
* Add type hints to state database module. (#10823)Patrick Cloke2021-09-151-2/+2
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-2/+2
* Add types to synapse.util. (#10601)reivilibre2021-09-1025-208/+281
* Add config option to use non-default manhole password and keys (#10643)Azrenbeth2021-09-061-3/+12
* Manhole: wrap coroutines in `defer.ensureDeferred` automatically (#10602)reivilibre2021-08-161-0/+14
* Convert Transaction and Edu object to attrs (#10542)Patrick Cloke2021-08-061-102/+0
* Remove shebang line from module files (#10415)V024602021-07-291-1/+0
* Generics for `ObservableDeferred` (#10491)Richard van der Hoff2021-07-281-6/+8
* Fix up type hints for Twisted 21.7 (#10490)Richard van der Hoff2021-07-283-12/+21
* improve typing annotations in CachedCall (#10450)Richard van der Hoff2021-07-281-10/+17
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-193-8/+6
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-1516-59/+57
* Add support for evicting cache entries based on last access time. (#10205)Erik Johnston2021-07-052-35/+352
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-15/+20
* Add debug logging when we enter/exit Measure block (#10183)Erik Johnston2021-06-161-0/+5
* Extend `ResponseCache` to pass a context object into the callback (#10157)Richard van der Hoff2021-06-141-26/+73
* When joining a remote room limit the number of events we concurrently check s...Erik Johnston2021-06-081-5/+16
* Fix up `BatchingQueue` (#10078)Erik Johnston2021-05-271-22/+48
* Combine `LruCache.invalidate` and `invalidate_many` (#9973)Richard van der Hoff2021-05-274-35/+36
* Add missing type hints to synapse.util (#9982)Patrick Cloke2021-05-244-21/+19
* Remove `keylen` from `LruCache`. (#9993)Richard van der Hoff2021-05-244-47/+70
* Don't hammer the database for destination retry timings every ~5mins (#10036)Erik Johnston2021-05-211-5/+3
* Add a batching queue implementation. (#10017)Erik Johnston2021-05-211-0/+153
* Minor `@cachedList` enhancements (#9975)Richard van der Hoff2021-05-141-6/+8
* Simplify exception handling in is_ascii. (#9985)Dan Callahan2021-05-141-3/+1
* Use Python's secrets module instead of random (#9984)Dan Callahan2021-05-141-8/+11
* Change the format of access tokens away from macaroons (#5588)Richard van der Hoff2021-05-121-0/+20
* Merge branch 'master' into developBrendan Abolivier2021-05-111-14/+47
|\
| * Merge pull request from GHSA-x345-32rc-8h85Richard van der Hoff2021-05-111-14/+47
* | Optionally track memory usage of each LruCache (#9881)Erik Johnston2021-05-052-1/+78
* | Reduce memory footprint of caches (#9886)Erik Johnston2021-04-281-18/+59
|/
* Remove various bits of compatibility code for Python <3.6 (#9879)Andrew Morgan2021-04-271-1/+1
* Limit length of accepted email addresses (#9855)Erik Johnston2021-04-221-0/+30
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-222-4/+2
* Merge branch 'master' into developAndrew Morgan2021-04-201-5/+9
|\
| * Always use the name as the log ID. (#9829)Patrick Cloke2021-04-201-5/+9
* | Sanity check identity server passed to bind/unbind. (#9802)Denis Kasak2021-04-191-0/+32
* | Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-1432-33/+0
|/
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-6/+8
* Add type hints to expiring cache. (#9730)Patrick Cloke2021-04-061-32/+51
* Update mypy configuration: `no_implicit_optional = True` (#9742)Jonathan de Jong2021-04-051-1/+3
* Add type hints to DictionaryCache and TTLCache. (#9442)Patrick Cloke2021-03-292-44/+73
* Make it possible to use dmypy (#9692)Erik Johnston2021-03-261-2/+2
* Enable addtional flake8-bugbear linting checks. (#9659)Jonathan de Jong2021-03-242-2/+2
* Fixed code misc. quality issues (#9649)Ankit Dobhal2021-03-221-1/+1
* Add logging to ObservableDeferred callbacks (#9523)Jonathan de Jong2021-03-091-8/+18
* Add ResponseCache tests. (#9458)Jonathan de Jong2021-03-081-6/+4
* Record the SSO Auth Provider in the login token (#9510)Richard van der Hoff2021-03-041-0/+89
* Revert "Fix #8518 (sync requests being cached wrongly on timeout) (#9358)"Patrick Cloke2021-03-021-32/+2
* Fix #8518 (sync requests being cached wrongly on timeout) (#9358)Jonathan de Jong2021-02-241-2/+32
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-1611-48/+45
* Clean up caching/locking of OIDC metadata load (#9362)Richard van der Hoff2021-02-161-0/+129
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Merge tag 'v1.27.0rc2' into developPatrick Cloke2021-02-111-3/+12
|\
| * Backout changes for automatically calculating the public baseurl. (#9313)Patrick Cloke2021-02-111-3/+12
* | Type hints and validation improvements. (#9321)Patrick Cloke2021-02-081-15/+18
|/
* Merge branch 'social_login' into developRichard van der Hoff2021-02-011-0/+106
|\
| * Replace username picker with a template (#9275)Richard van der Hoff2021-02-011-0/+106
* | Pass a dict, instead of None, to modules if a None config is specified in the...Andrew Morgan2021-01-271-1/+2
|/
* Fix chain cover update to handle events with duplicate auth events (#9210)Erik Johnston2021-01-221-1/+1
* Support icons for Identity Providers (#9154)Richard van der Hoff2021-01-201-0/+92
* Remote dependency on distutils (#9125)Richard van der Hoff2021-01-151-0/+19
* Fix event chain bg update. (#9118)Erik Johnston2021-01-141-1/+1
* Use a chain cover index to efficiently calculate auth chain difference (#8868)Erik Johnston2021-01-111-1/+52
* Fix "Starting metrics collection from sentinel context" errors (#9053)Erik Johnston2021-01-081-1/+2
* Empty iterables should count towards cache usage. (#9028)Patrick Cloke2021-01-061-1/+1
* Add type hints to the logging context code. (#8939)Patrick Cloke2021-01-051-1/+9
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-112-8/+7
* Better formatting for config errors from modules (#8874)Richard van der Hoff2020-12-081-6/+58
* Implement and use an @lru_cache decorator (#8595)Richard van der Hoff2020-10-301-47/+188
* Merge pull request #8678 from matrix-org/rav/fix_frozen_eventsRichard van der Hoff2020-10-282-25/+21
|\
| * Remove frozendict_json_encoder and support frozendicts everywhereRichard van der Hoff2020-10-282-25/+21
* | Tell Black to format code for Python 3.5 (#8664)Dan Callahan2020-10-271-1/+1
|/
* Optimise CacheDescriptor (#8594) github/release-v1.21.3 release-v1.21.3Richard van der Hoff2020-10-211-5/+7
* fix failure caseRichard van der Hoff2020-10-211-1/+4
* optimise DeferredCache.setRichard van der Hoff2020-10-211-3/+12
* Push some deferred wrangling down into DeferredCacheRichard van der Hoff2020-10-212-34/+55
* Fix 'LruCache' object has no attribute '_on_resize' (#8591)Richard van der Hoff2020-10-191-1/+9
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-10/+25
* Replace DeferredCache with LruCache where possible (#8563)Richard van der Hoff2020-10-191-0/+3
* review commentsRichard van der Hoff2020-10-161-3/+8
* Apply suggestions from code reviewRichard van der Hoff2020-10-161-1/+1
* type annotations for LruCacheRichard van der Hoff2020-10-163-23/+77
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-164-54/+57
* Enable mypy for synapse.util.caches (#8547)Richard van der Hoff2020-10-151-1/+1
* move DeferredCache into its own moduleRichard van der Hoff2020-10-142-282/+294
* Rename Cache->DeferredCacheRichard van der Hoff2020-10-141-7/+12
* Add some more type annotations to CacheRichard van der Hoff2020-10-142-23/+61