Improvements in background job for statistics/grading
Submitted by Elmer van Chastelet on 3 January 2020 at 11:23
- more efficient by keeping track of which assignments need statistics/grades update
- more robust by checking each transaction for failure. When failed (due to concurrent writes, e.g. by user submitting something) re-do statistics/grade updates for assignment and half the transaction size (40 subs -> 20 subs -> 10 subs -> 1 sub per TX)