diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-28 03:53:24 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-28 03:53:24 -0400 |
| commit | ec38418d6d3eb4342363af1714f0073a74d52fbc (patch) | |
| tree | 1327072f95de36f0577e114fd259c8d064426619 /scripts/coverage-summary.py | |
| parent | 944a52f0e33087dafba383edb3d97ec19a06d361 (diff) | |
| download | emacs-wttrin-ec38418d6d3eb4342363af1714f0073a74d52fbc.tar.gz emacs-wttrin-ec38418d6d3eb4342363af1714f0073a74d52fbc.zip | |
fix: always evict at least one cache entry when over max
wttrin--cleanup-cache-if-needed removed floor(count * 0.20) entries, which is 0
for a small cache (e.g. two entries at max one), so the cache could sit over its
advertised maximum indefinitely. It now removes at least one whenever it is over.
Diffstat (limited to 'scripts/coverage-summary.py')
0 files changed, 0 insertions, 0 deletions
