Move all the caches into their own package, synapse.util.caches
Showing
- synapse/federation/federation_client.py 1 addition, 1 deletionsynapse/federation/federation_client.py
- synapse/state.py 1 addition, 1 deletionsynapse/state.py
- synapse/storage/_base.py 3 additions, 332 deletionssynapse/storage/_base.py
- synapse/storage/directory.py 2 additions, 1 deletionsynapse/storage/directory.py
- synapse/storage/event_federation.py 2 additions, 1 deletionsynapse/storage/event_federation.py
- synapse/storage/keys.py 2 additions, 1 deletionsynapse/storage/keys.py
- synapse/storage/presence.py 2 additions, 1 deletionsynapse/storage/presence.py
- synapse/storage/push_rule.py 2 additions, 1 deletionsynapse/storage/push_rule.py
- synapse/storage/receipts.py 2 additions, 1 deletionsynapse/storage/receipts.py
- synapse/storage/registration.py 2 additions, 1 deletionsynapse/storage/registration.py
- synapse/storage/room.py 2 additions, 1 deletionsynapse/storage/room.py
- synapse/storage/roommember.py 2 additions, 1 deletionsynapse/storage/roommember.py
- synapse/storage/state.py 4 additions, 1 deletionsynapse/storage/state.py
- synapse/storage/stream.py 2 additions, 1 deletionsynapse/storage/stream.py
- synapse/storage/transactions.py 2 additions, 1 deletionsynapse/storage/transactions.py
- synapse/util/caches/__init__.py 14 additions, 0 deletionssynapse/util/caches/__init__.py
- synapse/util/caches/descriptors.py 359 additions, 0 deletionssynapse/util/caches/descriptors.py
- synapse/util/caches/dictionary_cache.py 1 addition, 1 deletionsynapse/util/caches/dictionary_cache.py
- synapse/util/caches/expiringcache.py 0 additions, 0 deletionssynapse/util/caches/expiringcache.py
- synapse/util/caches/lrucache.py 0 additions, 0 deletionssynapse/util/caches/lrucache.py
Loading
Please register or sign in to comment