Commit Graph

176 Commits (5dd73d029eff32668b3ca69b7fb8529fc7c58745)

Author SHA1 Message Date
Patrick Cloke 4e874ed593
Remove unnecessary maybeDeferred calls (#8044) 5 years ago
Patrick Cloke 38e1fac886
Fix some spelling mistakes / typos. (#7811) 5 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Erik Johnston eefc6b3a0d
Don't apply cache factor to event cache. (#7578) 5 years ago
Richard van der Hoff d4676910c9 remove miscellaneous PY2 code 5 years ago
Amber Brown 7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 5 years ago
Erik Johnston f9073893af Speed up fetching device lists changes in sync. 5 years ago
Richard van der Hoff 13683a3a22
Extend StreamChangeCache to support multiple entities per stream ID (#7303) 5 years ago
Richard van der Hoff 0f8f02bc39
On catchup, process each row with its own stream id (#7286) 5 years ago
Erik Johnston ed630ea17c
Reduce amount of logging at INFO level. (#6862) 5 years ago
Hubert Chathi cb2db17994
look up cross-signing keys from the DB in bulk (#6486) 5 years ago
Erik Johnston f166a8d1f5 Remove SnapshotCache in favour of ResponseCache 5 years ago
V02460 affcc2cc36 Fix LruCache callback deduplication (#6213) 5 years ago
Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 5 years ago
Erik Johnston e6c7e239ef Update docstring 5 years ago
Erik Johnston d0d8a22c13 Quick fix to ensure cache descriptors always return deferreds 5 years ago
Amber Brown 864f144543
Fix up some typechecking (#6150) 5 years ago
Erik Johnston 17e1e80726 Retry well-known lookup before expiry. 6 years ago
Richard van der Hoff 618bd1ee76
Fix some error cases in the caching layer. (#5749) 6 years ago
Richard van der Hoff 418635e68a
Add a prometheus metric for active cache lookups. (#5750) 6 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 6 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 6 years ago
Andrew Morgan ef8c62758c
Prevent multiple upgrades on the same room at once (#5051) 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff bc5f6e1797
Add a caching layer to .well-known responses (#4516) 6 years ago
Amber Brown e1728dfcbe
Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 6 years ago
Erik Johnston 4f3e3ac192 Correctly match 'dict.pop' api 6 years ago
Erik Johnston 8ea887856c Don't update eviction metrics on explicit removal 6 years ago
Richard van der Hoff 7ee94fc1ba Log which cache is throwing exceptions 7 years ago
Erik Johnston 3baf6e1667 Fix ExpiringCache.__len__ to be accurate 7 years ago
Erik Johnston 19dc676d1a Fix ExpiringCache.__len__ to be accurate 7 years ago
Erik Johnston fdd1a62e8d Add a five minute cache to get_destination_retry_timings 7 years ago
Erik Johnston 79eded1ae4 Make ExpiringCache slightly more performant 7 years ago
Erik Johnston 8601c24287 Fix some instances of ExpiringCache not expiring cache items 7 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 7 years ago
Richard van der Hoff a8cbce0ced fix invalidation 7 years ago
Richard van der Hoff f102c05856 Rewrite cache list decorator 7 years ago
Richard van der Hoff 03751a6420 Fix some looping_call calls which were broken in #3604 7 years ago
Richard van der Hoff 667fba68f3 Run things as background processes 7 years ago
Erik Johnston b2aa05a8d6 Use efficient .intersection 7 years ago
Erik Johnston 547b1355d3 Fix perf regression in PR #3530 7 years ago
Erik Johnston 77b692e65d Don't return unknown entities in get_entities_changed 7 years ago
Richard van der Hoff fa5c2bc082 Reduce set building in get_entities_changed 7 years ago
Amber Brown 49af402019 run isort 7 years ago
Amber Brown 72d2143ea8
Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454) 7 years ago
Matthew Hodgson 8057489b26
Revert "Try to not use as much CPU in the StreamChangeCache" 7 years ago
Amber Brown 1202508067 fixes 7 years ago
Amber Brown bd3d329c88 fixes 7 years ago
Amber Brown abfe4b2957 try and make loading items from the cache faster 7 years ago