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

Throttle the number of SRs to Factory in submit script itself #359

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Dec 3, 2024

So far the throttling is done on Jenkins but it has the disadvantage that submission jobs skipped because there is already a pending submission also count towards the limit. With this change we simply check whether there are any recent pending SRs in os-autoinst-obs-auto-submit itself to avoid this problem.

Related ticket: https://progress.opensuse.org/issues/167395

So far the throttling is done on Jenkins but it has the disadvantage that
submission jobs skipped because there is already a pending submission also
count towards the limit. With this change we simply check whether there are
any recent pending SRs in `os-autoinst-obs-auto-submit` itself to avoid
this problem.

Related ticket: https://progress.opensuse.org/issues/167395
@mergify mergify bot merged commit 4e79384 into os-autoinst:master Dec 3, 2024
4 checks passed
@Martchus Martchus deleted the throttle-SRs-via-script branch December 3, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants