You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a teacher is the owner of a bunch of courses, and units of that course have a lot of videos, the REST resource of the unit becomes really slow, resulting in a poor performance of the teachersadmin interface.
One of the problems I was able to identify was the is_teacher function, as reported in another issue. But the other one was the normalize_kq_weight. Here I propose a slightly modified version, not a powerful improvement, though.
On the other hand, I think that a different reason could be that the is_teacher function is been called with all the courses instead of being called just with the course related to the unit. I'm not 100% sure, but please, take a look.
The text was updated successfully, but these errors were encountered:
When a teacher is the owner of a bunch of courses, and units of that course have a lot of videos, the REST resource of the unit becomes really slow, resulting in a poor performance of the
teachersadmin
interface.One of the problems I was able to identify was the
is_teacher
function, as reported in another issue. But the other one was thenormalize_kq_weight
. Here I propose a slightly modified version, not a powerful improvement, though.On the other hand, I think that a different reason could be that the
is_teacher
function is been called with all the courses instead of being called just with the course related to the unit. I'm not 100% sure, but please, take a look.The text was updated successfully, but these errors were encountered: