Add submission to queue if judge disconnect

This commit is contained in:
cuom1999 2023-07-31 22:27:26 +07:00
parent 1e88e73082
commit 220a7e7237
2 changed files with 24 additions and 9 deletions

View file

@ -89,6 +89,7 @@ class JudgeList(object):
logger.info("Judge available after grading %d: %s", submission, judge.name)
del self.submission_map[submission]
judge._working = False
judge._working_data = {}
self._handle_free_judge(judge)
def abort(self, submission):