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

[BUG]: User search is too fast, causing spam of requests to the DB #766

Closed
GuiSanto opened this issue Dec 30, 2022 · 0 comments · Fixed by #767
Closed

[BUG]: User search is too fast, causing spam of requests to the DB #766

GuiSanto opened this issue Dec 30, 2022 · 0 comments · Fixed by #767
Assignees
Labels
bug Something isn't working suggestion
Milestone

Comments

@GuiSanto
Copy link
Contributor

Description

When searching, the debounce mechanism is only 100ms, so it causes many requests as the user types the desired input.

Steps to reproduce

Users List -> Type anything in the search input -> watch the Network tab spam requests

Expected result

The user should only get a list of the searched users after a few milliseconds, for example 300ms, instead of the current 100ms.

Actual result

Spam of requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working suggestion
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant