summary refs log tree commit diff
path: root/changelog.d/14410.misc
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-11-10 15:33:34 -0500
committerGitHub <noreply@github.com>2022-11-10 15:33:34 -0500
commit13ca8bb2fc05d338ccf62e6f8d1cbf5021d935ba (patch)
treeb27c7ac7eeeb4be247cca6cb28512068b786781d /changelog.d/14410.misc
parentFix PostgreSQL sometimes using table scans for `event_search` (#14409) (diff)
downloadsynapse-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/14410.misc')
-rw-r--r--changelog.d/14410.misc1
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.