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

Avoid waiting when only one judge can handle a submission #2002

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

quantum5
Copy link
Member

@quantum5 quantum5 commented Oct 3, 2022

Before, if there are multiple judges, a submission is low priority, and only one judge is available, we don't schedule. This is a problem if only one judge can handle that submission.

We handle the case by delaying rejudges only when there are at least two judges that can handle the submission, of which only one is available.

This is currently patched into production. We'll see if it works.

Before, if there are multiple judges, a submission is low priority, and
only one judge is available, we don't schedule. This is a problem if
only one judge can handle that submission.

We handle the case by delaying rejudges only when there are at least two
judges that can handle the submission, of which only one is available.
@quantum5 quantum5 requested a review from Xyene October 3, 2022 00:48
Copy link
Member

@Xyene Xyene left a comment

Choose a reason for hiding this comment

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

LGTM

@Xyene Xyene merged commit c14c573 into master Oct 28, 2022
@Xyene Xyene deleted the single-judge-lang branch October 28, 2022 01:36
@Xyene
Copy link
Member

Xyene commented Oct 28, 2022

This has been running in prod for a while.

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.

2 participants