Patrick Cloke
|
3ac412b4e2
Require types in tests.storage. (#14646)
|
1 year ago |
reivilibre
|
e630722f11
Optimise `_update_client_ips_batch_txn` to batch together database operations. (#12252)
|
2 years ago |
Dirk Klimpel
|
d666fc02fa
Add type hints to some tests files (#12371)
|
2 years ago |
Richard van der Hoff
|
e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031)
|
2 years ago |
Andrew Morgan
|
fe604a022a
Remove various bits of compatibility code for Python <3.6 (#9879)
|
3 years ago |
Jonathan de Jong
|
4b965c862d
Remove redundant "coding: utf-8" lines (#9786)
|
3 years ago |
Richard van der Hoff
|
7b71695388
Combine the two sets of tests for CacheDescriptor
|
4 years ago |
Richard van der Hoff
|
470dedd266
Combine the two sets of DeferredCache tests
|
4 years ago |
Richard van der Hoff
|
4182bb812f
move DeferredCache into its own module
|
4 years ago |
Richard van der Hoff
|
9f87da0a84
Rename Cache->DeferredCache
|
4 years ago |
Patrick Cloke
|
c619253db8
Stop sub-classing object (#8249)
|
4 years ago |
Erik Johnston
|
a7bdf98d01
Rename database classes to make some sense (#8033)
|
4 years ago |
Amber Brown
|
7cb8b4bc67
Allow configuration of Synapse's cache without using synctl or environment variables (#6391)
|
4 years ago |
Patrick Cloke
|
509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)
|
4 years ago |
Erik Johnston
|
756d4942f5
Move DB pool and helper functions into dedicated Database class
|
4 years ago |
Erik Johnston
|
ee86abb2d6
Remove underscore from SQLBaseStore functions
|
4 years ago |
Erik Johnston
|
326b3dace7
Make ObservableDeferred.observe() always return deferred.
|
5 years ago |
Amber Brown
|
a06614bd2a
UPSERT many functionality (#4644)
|
5 years ago |
black
|
8b3d9b6b19
Run black.
|
6 years ago |
Amber Brown
|
b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)
|
6 years ago |
Amber Brown
|
49af402019
run isort
|
6 years ago |
Erik Johnston
|
29a4066a4d
Update test
|
7 years ago |
Erik Johnston
|
eefd9fee81
Fix up tests
|
7 years ago |
Erik Johnston
|
f85b6ca494
Speed up cache size calculation
|
7 years ago |
Erik Johnston
|
45fd2c8942
Ensure invalidation list does not grow unboundedly
|
8 years ago |
Erik Johnston
|
c0d7d9d642
Rename to on_invalidate
|
8 years ago |
Erik Johnston
|
dc76a3e909
Make cache_context an explicit option
|
8 years ago |
Erik Johnston
|
ba214a5e32
Remove lru option
|
8 years ago |
Erik Johnston
|
4161ff2fc4
Add concept of cache contexts
|
8 years ago |
Mark Haines
|
700487a7c7
Fix flake8 warnings for tests
|
8 years ago |