anonymousland-synapse/synapse/util/caches
Erik Johnston 19dc676d1a Fix ExpiringCache.__len__ to be accurate
It used to try and produce an estimate, which was sometimes negative.
This caused metrics to be sad, so lets always just calculate it from
scratch.
2018-09-21 16:25:42 +01:00
..
__init__.py run isort 2018-07-09 16:09:20 +10:00
descriptors.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
dictionary_cache.py run isort 2018-07-09 16:09:20 +10:00
expiringcache.py Fix ExpiringCache.__len__ to be accurate 2018-09-21 16:25:42 +01:00
lrucache.py run isort 2018-07-09 16:09:20 +10:00
response_cache.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
snapshot_cache.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
stream_change_cache.py Use efficient .intersection 2018-07-17 11:07:04 +01:00
treecache.py Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 2018-05-31 19:03:47 +10:00