Replace DeferredCache with LruCache where possible (#8563)
Most of these uses don't need a full-blown DeferredCache; LruCache is lighter and more appropriate.
Showing
- changelog.d/8563.misc 1 addition, 0 deletionschangelog.d/8563.misc
- synapse/replication/slave/storage/client_ips.py 5 additions, 5 deletionssynapse/replication/slave/storage/client_ips.py
- synapse/storage/_base.py 7 additions, 5 deletionssynapse/storage/_base.py
- synapse/storage/databases/main/client_ips.py 4 additions, 4 deletionssynapse/storage/databases/main/client_ips.py
- synapse/storage/databases/main/devices.py 4 additions, 4 deletionssynapse/storage/databases/main/devices.py
- synapse/storage/databases/main/events.py 1 addition, 3 deletionssynapse/storage/databases/main/events.py
- synapse/storage/databases/main/events_worker.py 5 additions, 6 deletionssynapse/storage/databases/main/events_worker.py
- synapse/util/caches/lrucache.py 3 additions, 0 deletionssynapse/util/caches/lrucache.py
Loading
Please register or sign in to comment