X Tutup
Skip to content

Ignore thumbnails when propagating in home#39988

Merged
phil-davis merged 1 commit intomasterfrom
ignore-thumbnails-when-propagating-in-home
Jun 18, 2022
Merged

Ignore thumbnails when propagating in home#39988
phil-davis merged 1 commit intomasterfrom
ignore-thumbnails-when-propagating-in-home

Conversation

@butonic
Copy link
Contributor

@butonic butonic commented Apr 20, 2022

thumbnails don't need to have their mtime propagated as already mentioned in #30320 (comment)

however the preview manager also listens on pre deletion hooks to build a list of affected files, so this only part of the problem and might not even be necessary when doing thumbnail eviction in a background cron job.

It might still be useful when generating thumbnails as we then don't have to propagate etag or size changes from the individual thumbnails up to the thumbnails folder. A path like thumbnails/13245/44x44.png then would not have to do any propagation which helps when lots of pictures need to be thumbnailed, eg. when uploading a photo collection.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@phil-davis
Copy link
Contributor

someone needs to decide if this should be merged, and add a changelog describing what is the change/improvement.

@micbar ?

@micbar
Copy link
Contributor

micbar commented Jun 14, 2022

fine for me

@butonic butonic force-pushed the ignore-thumbnails-when-propagating-in-home branch from d78d27e to 87ef693 Compare June 17, 2022 13:12
@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline apiAuth-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/core/36066/47

@mmattel
Copy link
Contributor

mmattel commented Jun 17, 2022

@phil-davis mind to take a look why the accaptence test failed because of adding a changelog (ci was green before). We could merge when CI passes...

@phil-davis
Copy link
Contributor

https://github.com/owncloud/core/tree/ignore-thumbnails-when-propagating-in-home
This branch is 1 commit ahead, 348 commits behind master.

The PR is so old - I will rebase.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@phil-davis phil-davis force-pushed the ignore-thumbnails-when-propagating-in-home branch from 87ef693 to 2f9a17c Compare June 18, 2022 03:12
@phil-davis phil-davis self-assigned this Jun 18, 2022
@owncloud owncloud deleted a comment from update-docs bot Jun 18, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@phil-davis phil-davis merged commit 3838045 into master Jun 18, 2022
@delete-merged-branch delete-merged-branch bot deleted the ignore-thumbnails-when-propagating-in-home branch June 18, 2022 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup