101 Commit (102677638002b3ef6ae956947333ddcde80680a7)

Autore SHA1 Messaggio Data
  David Robertson 1026776380
mypy plugin to check `@cached` return types (#14911) 7 mesi fa
  Patrick Cloke 1f55c04cbc
Improve type hints for cached decorator. (#15658) 1 anno fa
  reivilibre 864c3f85b0
Improve type annotations for the helper methods on a `CachedFunction`. (#14685) 1 anno fa
  Patrick Cloke 1799a54a54
Batch fetch bundled annotations (#14491) 1 anno fa
  Nick Mills-Barrett c9dffd5b33
Remove unused `@lru_cache` decorator (#13595) 1 anno fa
  dependabot[bot] 0b7830e457
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042) 1 anno fa
  Eric Eastwood 29269d9d3f
Fix `have_seen_event` cache not being invalidated (#13863) 1 anno fa
  Mathieu Velten 6bd8763804
Add cache invalidation across workers to module API (#13667) 1 anno fa
  Erik Johnston f7ddfe17a3
Speed up `@cachedList` (#13591) 1 anno fa
  Nick Mills-Barrett 5e7847dc92
Cache user IDs instead of profile objects (#13573) 1 anno fa
  Patrick Cloke 759f9c09e1
Fix caching behavior for relations push rules. (#12859) 2 anni fa
  Sean Quah 2fcf4b3f6c
Add cancellation support to `@cached` and `@cachedList` decorators (#12183) 2 anni fa
  Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189) 2 anni fa
  Richard van der Hoff 5458eb8551
Fix 'Unhandled error in Deferred' (#12089) 2 anni fa
  David Robertson f510fba4ba
Describe `prune_unread_entries` in docstrings (#11876) 2 anni fa
  Patrick Cloke 7468723697
Add most missing type hints to synapse.util (#11328) 2 anni fa
  David Robertson 724aef9a87
Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826) 2 anni fa
  Richard van der Hoff d9cb658c78
Fix up type hints for Twisted 21.7 (#10490) 2 anni fa
  Jonathan de Jong bdfde6dca1
Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 2 anni fa
  Richard van der Hoff 224f2f949b
Combine `LruCache.invalidate` and `invalidate_many` (#9973) 3 anni fa
  Richard van der Hoff c0df6bae06
Remove `keylen` from `LruCache`. (#9993) 3 anni fa
  Richard van der Hoff 5090f26b63
Minor `@cachedList` enhancements (#9975) 3 anni fa
  Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 3 anni fa
  Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 3 anni fa
  Richard van der Hoff cbc82aa09f
Implement and use an @lru_cache decorator (#8595) 3 anni fa
  Richard van der Hoff b28aaeb3a5
Optimise CacheDescriptor (#8594) 3 anni fa
  Richard van der Hoff 1f4269700c Push some deferred wrangling down into DeferredCache 3 anni fa
  Richard van der Hoff 4182bb812f move DeferredCache into its own module 3 anni fa
  Richard van der Hoff 9f87da0a84 Rename Cache->DeferredCache 3 anni fa
  Richard van der Hoff 7eff59ec91 Add some more type annotations to Cache 3 anni fa
  Patrick Cloke c619253db8
Stop sub-classing object (#8249) 3 anni fa
  Erik Johnston 208e1d3eb3
Fix typing for `@cached` wrapped functions (#8240) 3 anni fa
  Patrick Cloke d294f0e7e1
Remove the unused inlineCallbacks code-paths in the caching code (#8119) 3 anni fa
  Patrick Cloke 4e874ed593
Remove unnecessary maybeDeferred calls (#8044) 3 anni fa
  Patrick Cloke 38e1fac886
Fix some spelling mistakes / typos. (#7811) 3 anni fa
  Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 3 anni fa
  Amber Brown 7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 4 anni fa
  Hubert Chathi cb2db17994
look up cross-signing keys from the DB in bulk (#6486) 4 anni fa
  V02460 affcc2cc36 Fix LruCache callback deduplication (#6213) 4 anni fa
  Erik Johnston e6c7e239ef Update docstring 4 anni fa
  Erik Johnston d0d8a22c13 Quick fix to ensure cache descriptors always return deferreds 4 anni fa
  Amber Brown 864f144543
Fix up some typechecking (#6150) 4 anni fa
  Richard van der Hoff 618bd1ee76
Fix some error cases in the caching layer. (#5749) 4 anni fa
  Richard van der Hoff 418635e68a
Add a prometheus metric for active cache lookups. (#5750) 4 anni fa
  Amber Brown 4806651744
Replace returnValue with return (#5736) 4 anni fa
  Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 4 anni fa
  Amber Brown 32e7c9e7f2
Run Black. (#5482) 4 anni fa
  Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 5 anni fa
  Richard van der Hoff a8cbce0ced fix invalidation 5 anni fa
  Richard van der Hoff f102c05856 Rewrite cache list decorator 6 anni fa