diff options
author | Erik Johnston <erik@matrix.org> | 2022-02-15 14:31:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 14:31:04 +0000 |
commit | 0dbbe33a65c17cdb1ad41d6109b5629029dce886 (patch) | |
tree | 1813f0acb252c5c2a383db79e1842e3d4a738178 /synapse | |
parent | Fix incorrect `get_rooms_for_user` for remote user (#11999) (diff) | |
download | synapse-0dbbe33a65c17cdb1ad41d6109b5629029dce886.tar.xz |
Track cache invalidations (#12000)
Currently we only track evictions due to size or time constraints.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/util/caches/__init__.py | 1 | ||||
-rw-r--r-- | synapse/util/caches/expiringcache.py | 5 | ||||
-rw-r--r-- | synapse/util/caches/lrucache.py | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/synapse/util/caches/__init__.py b/synapse/util/caches/__init__.py |