summary refs log tree commit diff
path: root/synapse/app/synctl.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-09-21 16:25:42 +0100
committerErik Johnston <erik@matrix.org>2018-09-21 16:25:42 +0100
commit19dc676d1aaf66a45c9a1810132952f7ae3ca2aa (patch)
tree04a27a9db8702e58f6c9a989c121b97821b6c520 /synapse/app/synctl.py
parentNewsfile (diff)
downloadsynapse-19dc676d1aaf66a45c9a1810132952f7ae3ca2aa.tar.xz
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.
Diffstat (limited to 'synapse/app/synctl.py')
0 files changed, 0 insertions, 0 deletions