Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add delay to user filtering. #224
Ajax filter requests are sent on every keyup now. So if you want to search for "qwerty" 6 requests will be sent. It creates considerable load for server and all requests are timeout. Also site becomes unresponsive for sometime (504 Gateway Time-Out).
added a commit
this pull request
Aug 20, 2012
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Thanks! This is live and probably working; it worked when I tested it locally. Long-term, we probably just need a more efficient way to show all users, or perhaps disable the "see everyone at once" feature since it's so unwieldy: we anticipated that might happen someday as our userlist grew.