]> source.dussan.org Git - nextcloud-server.git/commit
Move query outside the loop and reduce chunk size to 1000 29507/head
authorSijmen Schoon <me@sijmenschoon.nl>
Sun, 17 Oct 2021 18:52:38 +0000 (20:52 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 1 Nov 2021 11:27:36 +0000 (11:27 +0000)
commit43e829a93e120a0c462bd42acbbe2d7715b8dacf
treedbfcd6e8aedbc1a040f79cca5a4ea4bec2004e45
parentbb198c635fec655cc2d1b94c52185e0387151c9b
Move query outside the loop and reduce chunk size to 1000

This involved changing CacheQueryBuilder\whereParentIn to take a
parameter name, renaming the function accordingly.

Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
lib/private/Files/Cache/Cache.php
lib/private/Files/Cache/CacheQueryBuilder.php