Cache notifications for 5 mins so that we don't hit the grading server on every web request
This commit is contained in:
@@ -110,7 +110,7 @@ def _staff_grading(tab, user, course, active_page):
|
||||
|
||||
tab_name = "Staff grading"
|
||||
|
||||
notifications = open_ended_notifications.staff_grading_notifications(course)
|
||||
notifications = open_ended_notifications.staff_grading_notifications(course, user)
|
||||
pending_grading = notifications['pending_grading']
|
||||
img_path = notifications['img_path']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user