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

better users cycle #42667

Merged
merged 1 commit into from
Jan 11, 2024
Merged

better users cycle #42667

merged 1 commit into from
Jan 11, 2024

Conversation

ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Jan 9, 2024

fix #42489

In the previous version of the job, If the generation of metadata for a single user would takes more than an hour, the same user would be scanned over and every days.

This should fix it and switch to next user when re-running the cronjob the next night

There is also a check to not generate metadata if already exist

@ArtificialOwl
Copy link
Member Author

/backport to stable28

@ArtificialOwl ArtificialOwl force-pushed the fix/42489/fix-cycle-on-same-user branch from 9bbf4a5 to f13e2b4 Compare January 10, 2024 09:58
@ArtificialOwl ArtificialOwl added the 3. to review Waiting for reviews label Jan 10, 2024
@ArtificialOwl ArtificialOwl added this to the Nextcloud 28.0.2 milestone Jan 10, 2024
@ArtificialOwl
Copy link
Member Author

/rebase

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@ArtificialOwl ArtificialOwl merged commit 2d0991e into master Jan 11, 2024
50 checks passed
@ArtificialOwl ArtificialOwl deleted the fix/42489/fix-cycle-on-same-user branch January 11, 2024 18:52
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: S3 excessive egress traffic caused by background GenerateMetadataJob
4 participants