diff options
author | Erik Johnston <erik@matrix.org> | 2018-09-21 16:25:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-09-21 16:25:42 +0100 |
commit | 19dc676d1aaf66a45c9a1810132952f7ae3ca2aa (patch) | |
tree | 04a27a9db8702e58f6c9a989c121b97821b6c520 /changelog.d/3824.bugfix | |
parent | Newsfile (diff) | |
download | synapse-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 'changelog.d/3824.bugfix')
0 files changed, 0 insertions, 0 deletions