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>
Showing
- lib/composer/composer/autoload_classmap.php 1 addition, 0 deletionslib/composer/composer/autoload_classmap.php
- lib/composer/composer/autoload_static.php 1 addition, 0 deletionslib/composer/composer/autoload_static.php
- lib/private/Preview/BackgroundCleanupJob.php 78 additions, 16 deletionslib/private/Preview/BackgroundCleanupJob.php
- lib/private/Preview/Storage/Root.php 71 additions, 0 deletionslib/private/Preview/Storage/Root.php
- lib/private/Server.php 2 additions, 2 deletionslib/private/Server.php
- tests/lib/Preview/BackgroundCleanupJobTest.php 70 additions, 26 deletionstests/lib/Preview/BackgroundCleanupJobTest.php
Loading
Please register or sign in to comment