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

Courses term input very slow with many terms #2429

Open
jonespm opened this issue Nov 25, 2024 · 0 comments
Open

Courses term input very slow with many terms #2429

jonespm opened this issue Nov 25, 2024 · 0 comments

Comments

@jonespm
Copy link

jonespm commented Nov 25, 2024

Summary:

In the Accounts->Courses page when you have a lot of courses in your institution it takes a long time to populate the drop-down, almost a minute in some cases. This looks like because it's doing a per_page=10 and it takes 2-3 seconds per request. This blocks selecting any term until this is completed. This feels like it worked faster in the past.

image

Having a larger per_page should be an easy fix. A value of 100 query takes the same amount of time as 10.

Steps to reproduce:

  1. Go to Accounts->Courses page in an installation with over 50 terms, ideally 100.
  2. Notice the speed of the dropdown terms filter

Expected behavior:

Terms should populate much faster and be usable

Actual behavior:

Terms dropdown can take over 60 seconds in some cases to actually be usable

Additional notes:

@jonespm jonespm changed the title Courses term import very slow with many terms Courses term input very slow with many terms Nov 25, 2024
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

No branches or pull requests

1 participant