diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-11-10 15:33:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 15:33:34 -0500 |
commit | 13ca8bb2fc05d338ccf62e6f8d1cbf5021d935ba (patch) | |
tree | b27c7ac7eeeb4be247cca6cb28512068b786781d /synapse/rest | |
parent | Fix PostgreSQL sometimes using table scans for `event_search` (#14409) (diff) | |
download | synapse-13ca8bb2fc05d338ccf62e6f8d1cbf5021d935ba.tar.xz |
Remove duplicated code to evict entries. (#14410)
This code was factored out to a method, but also left in-place. Calling this twice in a row makes no sense: the first call will reduce the size appropriately, but the loop will immediately exit since the cache size was already reduced.
Diffstat (limited to 'synapse/rest')
0 files changed, 0 insertions, 0 deletions