Commit bb5d4c8
committed
Don't try to update aborted judgings
This (typically?) happens while cancelling a rejudging while
there are judgedaemons actively judging. Fixes errors like
```
[Nov 23 13:34:53.075] judgedaemon[526392]: warning: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts/add-judging-run/tiger-1/1555747: http status code: 500, request size = 67745, response: array (
'code' => 500,
'message' => 'internal bug: the evaluated result changed during judging',
'class' => 'BadMethodCallException',
'trace' =>
array (
0 =>
array (
'namespace' => '',
'short_class' => '',
'class' => '',
'type' => '',
'function' => '',
'file' => '/home/jaap/domjudge/git/domjudge/webapp/src/Controller/API/JudgehostController.php',
'line' => 1053,
'args' =>
array (
),
),
...
```1 parent 1c80b26 commit bb5d4c8
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1052 | 1058 | | |
1053 | 1059 | | |
1054 | 1060 | | |
| |||
0 commit comments