Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: timeout error for legacy page #33965

Merged

Conversation

KristinAoki
Copy link
Member

Description

This PR addresses the timeout errors for the legacy Videos page. This change improves performance on the page. When a user has a course with over 100 videos, the legacy and course authoring pages take a long time to load and can eventually lead to a 504 timeout error. In a previous PR the initial fetch for course videos included fetching the usage locations for a video. This data is not used in the legacy Videos page, so this PR updates to only include the data when fetching the data for the course authoring Video page. This change impacts Authors.

Supporting information

JIRA Ticket: TNL-11324

At first, the issues involved intermittent errors from edX, initially displaying the attached error ‘We're performing some scheduled maintenance’, however, currently, this recurring intermittent issue persists, and they’re unable to upload videos.

Testing instructions

  1. Import a course with greater than 200 videos
  2. Navigate to the legacy Videos page (may need to turn off the waffle flag for the course authoring redirect)
  3. Page should load within a handful of seconds
  4. Navigate to the course authoring Videos page
  5. Page will load slowly.

Deadline

None

Other information

This only fixes the issue for the legacy page. Still looking at pagination for the Course Authoring MFE.

Copy link
Contributor

@rayzhou-bit rayzhou-bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@KristinAoki KristinAoki merged commit 3c1b81c into master Dec 21, 2023
65 checks passed
@KristinAoki KristinAoki deleted the KristinAoki/remove-usage-location-call-on-legacy-page branch December 21, 2023 14:27
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants