-
- Downloads
Combine `LruCache.invalidate` and `invalidate_many` (#9973)
* Make `invalidate` and `invalidate_many` do the same thing ... so that we can do either over the invalidation replication stream, and also because they always confused me a bit. * Kill off `invalidate_many` * changelog
Showing
- changelog.d/9973.misc 1 addition, 0 deletionschangelog.d/9973.misc
- synapse/replication/slave/storage/devices.py 1 addition, 1 deletionsynapse/replication/slave/storage/devices.py
- synapse/storage/databases/main/cache.py 3 additions, 3 deletionssynapse/storage/databases/main/cache.py
- synapse/storage/databases/main/devices.py 1 addition, 1 deletionsynapse/storage/databases/main/devices.py
- synapse/storage/databases/main/event_push_actions.py 1 addition, 1 deletionsynapse/storage/databases/main/event_push_actions.py
- synapse/storage/databases/main/events.py 4 additions, 4 deletionssynapse/storage/databases/main/events.py
- synapse/storage/databases/main/receipts.py 2 additions, 4 deletionssynapse/storage/databases/main/receipts.py
- synapse/util/caches/deferred_cache.py 16 additions, 26 deletionssynapse/util/caches/deferred_cache.py
- synapse/util/caches/descriptors.py 6 additions, 2 deletionssynapse/util/caches/descriptors.py
- synapse/util/caches/lrucache.py 11 additions, 7 deletionssynapse/util/caches/lrucache.py
- synapse/util/caches/treecache.py 3 additions, 0 deletionssynapse/util/caches/treecache.py
- tests/util/caches/test_descriptors.py 3 additions, 3 deletionstests/util/caches/test_descriptors.py
Loading
Please register or sign in to comment