]> source.dussan.org Git - nextcloud-server.git/commit
Remove inefficient fed share scanner 30686/head
authorVincent Petry <vincent@nextcloud.com>
Wed, 5 Jan 2022 16:19:24 +0000 (17:19 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 14 Jan 2022 16:09:00 +0000 (16:09 +0000)
commit21e12e1c4fc2f158e037999d293636cb18575a82
tree922c6a3a17f9ed59ef03df4ad5fc62d31058f280
parent990259f9d8d0118192c92078ce885ec56eca33df
Remove inefficient fed share scanner

Remove scanAll which relies on the "shareinfo" endpoint that returns the
full cache tree.
The latter can become big for big shares and result in timeouts.
Furthermode, the full tree would be retrieved again for each and every
detected change which can become expensive quickly.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
apps/files_sharing/lib/External/Scanner.php
apps/files_sharing/tests/External/ScannerTest.php