]> source.dussan.org Git - nextcloud-server.git/commit
Move to subfolders for preview files 19214/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 30 Jan 2020 10:37:01 +0000 (11:37 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sun, 19 Apr 2020 08:30:56 +0000 (10:30 +0200)
commit6c603e8e7d1ac52eeefdda939fa96a0c27b7c3da
tree82c496f7f12dcc4a482ff3f201d8e16f98022ae9
parent64196ddd19684b6a218428eeb6ee370d0514b68c
Move to subfolders for preview files

Else the number of files can grow very large very quickly in the preview
folder. Esp on large systems.

This generates the md5 of the fileid. And then creates folders of the
first 7 charts. In that folder is then a folder with the fileid. And
inside there are the previews.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Preview/BackgroundCleanupJob.php
lib/private/Preview/Storage/Root.php [new file with mode: 0644]
lib/private/Server.php
tests/lib/Preview/BackgroundCleanupJobTest.php