Commit 37b4dfb
Set error and empty feedback file if it is too large
If the grading container tries to send a massive feedback dump
back to the MOOC-Grader, the /container-post view fails to
receive it due to settings.DATA_UPLOAD_MAX_MEMORY_SIZE. This
fix sets the feedback_size_error field to true and empties the
feedback file when it is too large. MOOC-Grader can then detect
these cases and provide informative feedback to the students.
Part of apluslms/mooc-grader#1461 parent 65aedfe commit 37b4dfb
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
87 | 102 | | |
88 | 103 | | |
89 | 104 | | |
| |||
0 commit comments