Commit fb7c3ca
committed
Send less event updates for judgements in parallel mode.
We used to send event updates for all testcases that came in after we already determined the final verdict for a problem. Now we check if we already have a previous end time for the judgement, and then we don't do this anymore.
Note that race conditions can still make it such that we send multiple update events, where two judgehosts know the result at the same time and. However, this happens way less often.1 parent ef55f05 commit fb7c3ca
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1026 | 1029 | | |
1027 | 1030 | | |
1028 | | - | |
1029 | 1031 | | |
1030 | 1032 | | |
1031 | 1033 | | |
| |||
0 commit comments