Commit 3b5b815
committed
Give back unfinished judging_runs/judgetasks in repeated rejudgings.
judgedaemons check in after start-up and after failed judgetask, see
https://github.com/DOMjudge/domjudge/blob/2222a867f99275cbdb8e81d4681e47522a29669f/judge/judgedaemon.main.php#L984
Checking in has the side effect that judgetasks that no longer need to
be executed are given back.
Previously, we checked whether either the judging or the rejudging was
valid, assuming that active rejudgings are marked as valid. This is not
true for repeated rejudgings where only the last instance is "valid".
For the check, it doesn't matter whether a rejudging is valid, only
whether a judging is associated with one.
Fixes #3069.1 parent 436bcbb commit 3b5b815
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments