Commit 954a47c
MDL-81481 assign grading: speed up assign 'View all submissions' page
the 'View all submissions' page was fairly slow when dealing with large databases.
Solution: Utilize a static 'capability_checker' in 'filter_user_list' to prevent reinitialization.
Requests made by 'get_users_by_capability' will be cached, thus enhancing performance for large databases.1 parent ddc7c93 commit 954a47c
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
641 | 646 | | |
642 | 647 | | |
643 | 648 | | |
| |||
0 commit comments