Skip to content

feat: Allow to limit the amount of preview migration job running - #65974

Open
CarlSchwan wants to merge 1 commit into
masterfrom
carl/limit-preview
Open

CarlSchwan wants to merge 1 commit into
masterfrom
carl/limit-preview

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

Summary

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan self-assigned this Oct 27, 2026
@CarlSchwan
CarlSchwan requested a review from a team as a code owner October 27, 2026 16:44
@CarlSchwan
CarlSchwan requested review from Altahrim, leftybournes, provokateurin and sorbaugh and removed request for a team October 27, 2026 16:44
Comment on lines +147 to +148
* Count the other preview migration jobs currently reserved by a cron worker,
* using the same staleness window as {@see \OCP\BackgroundJob\IJobList::hasReservedJob()}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to move it there?

This branch has not been deployed

No deployments
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.

2 participants