We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Followup to #1052
One AJAX request is triggered for every keypress on Users dropdown.
My platform site currently has 15000 users, this is a real query bomb if you type a whole e-mail in there to try to narrow it down.
Select element should only trigger query after probably 0.5s has passed after last keystroke.
Open Network panel
Type into Users filter select element
Observe network request triggered for each keystroke
The text was updated successfully, but these errors were encountered:
Is the input field using the select2 input wrapper? I wonder if they provide throttling out of the box for this and we just haven't enabled it.
Sorry, something went wrong.
Yep, it's Select2. And this is what we did in Sensei Automattic/sensei#2282 super simple.
Hi there, I can confirm this takes down a site with 30k users. Solution proposed by @lkraav works for me.
Successfully merging a pull request may close this issue.
Followup to #1052
Bug Report
One AJAX request is triggered for every keypress on Users dropdown.
My platform site currently has 15000 users, this is a real query bomb if you type a whole e-mail in there to try to narrow it down.
Expected Behavior
Select element should only trigger query after probably 0.5s has passed after last keystroke.
Steps to Reproduce the Problem
Open Network panel
Type into Users filter select element
Observe network request triggered for each keystroke
The text was updated successfully, but these errors were encountered: