Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use search to get versions list from cache for expiry #27637

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

icewind1991
Copy link
Member

Instead of traversing the filesystem, get the list from cache.

Future improvement would be changing the mtime of the version files to the version data, which would make getting all expired ones easy and cheap. But that requires a migration step so is a bit more involved.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jun 23, 2021
@icewind1991 icewind1991 added this to the Nextcloud 22 milestone Jun 23, 2021
@blizzz blizzz mentioned this pull request Jun 23, 2021
39 tasks
@blizzz blizzz modified the milestones: Nextcloud 22, Nextcloud 23 Jun 24, 2021
@juliusknorr juliusknorr requested a review from blizzz June 29, 2021 16:36
@skjnldsv
Copy link
Member

Please rebase :)

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 18, 2021
Signed-off-by: Robin Appelman <[email protected]>
@juliusknorr juliusknorr merged commit ed2cc08 into master Aug 19, 2021
@juliusknorr juliusknorr deleted the version-expire-search branch August 19, 2021 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants