Commit Graph

199 Commits (2f689a63263170068e0ee666422d5e0f61d21cfb)

Author SHA1 Message Date
Patrick Cloke 77dfc1f939
Fix a bug where servers could be marked as up when they were failing (#16506) 1 year ago
Patrick Cloke 7ec0a141b4
Convert more cached return values to immutable types (#16356) 1 year ago
Patrick Cloke aa483cb4c9
Update ruff config (#16283) 1 year ago
Mathieu Velten 501da8ecd8
Task scheduler: add replication notify for new task to launch ASAP (#16184) 1 year ago
David Robertson e691243e19
Fix typechecking with twisted trunk (#16121) 1 year ago
DeepBlueV7.X 19a1cda084
Properly update retry_last_ts when hitting the maximum retry interval (#16156) 1 year ago
Mathieu Velten 358896e1b8
Implements a task scheduler for resumable potentially long running tasks (#15891) 1 year ago
Mathieu Velten f0a860908b
Allow config of the backoff algorithm for the federation client. (#15754) 1 year ago
Patrick Cloke ca5c4be921
Add type hints to test_descriptors. (#15659) 2 years ago
Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 2 years ago
Sean Quah a302d3ecf7
Remove unnecessary reactor reference from `_PerHostRatelimiter` (#14842) 2 years ago
Sean Quah 772e8c2385
Fix stack overflow in `_PerHostRatelimiter` due to synchronous requests (#14812) 2 years ago
Patrick Cloke 630d0aeaf6
Support RFC7636 PKCE in the OAuth 2.0 flow. (#14750) 2 years ago
Patrick Cloke da77720752
Check the stream position before checking if the cache is empty. (#14639) 2 years ago
Erik Johnston cee9445884
Better return type for `get_all_entities_changed` (#14604) 2 years ago
Patrick Cloke 6a8310f3df
Compare to the earliest known stream pos in the stream change cache. (#14435) 2 years ago
Patrick Cloke acea4d7a2f
Add missing types to tests.util. (#14597) 2 years ago
Patrick Cloke 4ae967cf63
Add missing type hints to test.util.caches (#14529) 2 years ago
Quentin Gliech 8756d5c87e
Save login tokens in database (#13844) 2 years ago
Nick Mills-Barrett c9dffd5b33
Remove unused `@lru_cache` decorator (#13595) 2 years ago
dependabot[bot] 0b7830e457
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042) 2 years ago
David Robertson 6f0c3e669d
Don't require `setuptools_rust` at runtime (#13952) 2 years ago
Eric Eastwood 29269d9d3f
Fix `have_seen_event` cache not being invalidated (#13863) 2 years ago
Erik Johnston 0b87eb8e0c
Make DictionaryCache have better expiry properties (#13292) 2 years ago
Quentin Gliech fe1daad672
Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2 years ago
Shay cde8af9a49
Add config flags to allow for cache auto-tuning (#12701) 3 years ago
Erik Johnston 8dd3e0e084
Immediately retry any requests that have backed off when a server comes back online. (#12500) 3 years ago
Sean Quah a50fb411b3
Update `delay_cancellation` to accept any awaitable (#12468) 3 years ago
Sean Quah 79e7c2c426
Fix edge case where a `Linearizer` could get stuck (#12358) 3 years ago
Sean Quah 9c4c49991d
Update docstrings for `ReadWriteLock` tests (#12354) 3 years ago
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357) 3 years ago
Sean Quah 41b5f72677
Convert `Linearizer` tests from `inlineCallbacks` to async (#12353) 3 years ago
David Robertson bf9d549e3a
Try to detect borked package installations. (#12244) 3 years ago
Sean Quah 2fcf4b3f6c
Add cancellation support to `@cached` and `@cachedList` decorators (#12183) 3 years ago
Sean Quah 605d161d7d
Add cancellation support to `ReadWriteLock` (#12120) 3 years ago
Sean Quah 90b2327066
Add `delay_cancellation` utility function (#12180) 3 years ago
Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189) 3 years ago
reivilibre 2eef234ae3
Fix a bug introduced in 1.54.0rc1 which meant that Synapse would refuse to start if pre-release versions of dependencies were installed. (#12177) 3 years ago
Sean Quah 158e0937eb
Add test for `ObservableDeferred`'s cancellation behaviour (#12149) 3 years ago
David Robertson cea1b58c4a
Don't impose version checks on dev extras at runtime (#12129) 3 years ago
David Robertson 313581e4e9
Use importlib.metadata to read requirements (#12088) 3 years ago
Sean Quah 4d6b6c17c8
Fix rare error in `ReadWriteLock` when writers complete immediately (#12105) 3 years ago
Sean Quah 91bc15c772
Add `stop_cancellation` utility function (#12106) 3 years ago
Richard van der Hoff 5458eb8551
Fix 'Unhandled error in Deferred' (#12089) 3 years ago
Richard van der Hoff 9d11fee8f2
Improve exception handling for concurrent execution (#12109) 3 years ago
Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
reivilibre 84bfe47b01
Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11505 (#11687) 3 years ago
Richard van der Hoff c3e38b88f2
Improve opentracing support for `ResponseCache` (#11607) 3 years ago
Sean Quah 0147b3de20
Add missing type hints to `synapse.logging.context` (#11556) 3 years ago