Commit be3184a
committed
When cancelling a rejudging, also delete the corresponding queue tasks.
Previously, when you did a large rejudging (say of a whole contest),
abort it immediately, you would have a lot of queuetasks where each
queue task doesn't have any remaining judge task to process. The
judgedaemon would process these one at a time and assume there is no
work to be done and sleep until processing the next one, so it would
take hours to clean up the queue. We should address that behavior
separately.1 parent 4aacc80 commit be3184a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
0 commit comments