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 /changelog.d | |
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 'changelog.d')
-rw-r--r-- | changelog.d/14410.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14410.misc b/changelog.d/14410.misc new file mode 100644 index 0000000000..f085a8bfb2 --- /dev/null +++ b/changelog.d/14410.misc @@ -0,0 +1 @@ +Remove unreachable code. |