You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever you do a search and the search query is more or equal than three characters it will dispatch an ajax request to all search sources after 250ms. By default these are two: discussions and users.
Each next mutation of the search query will add two new ajax requests. Because we do not keep track of the previously triggered ajax requests we do not cancel those.
Expected Behavior
Ajax requests for older query search should be cancelled to preserve server capacity.
Environment
Flarum version: v1.1.0
The text was updated successfully, but these errors were encountered:
Bug Report
Current Behavior
Whenever you do a search and the search query is more or equal than three characters it will dispatch an ajax request to all search sources after 250ms. By default these are two: discussions and users.
Each next mutation of the search query will add two new ajax requests. Because we do not keep track of the previously triggered ajax requests we do not cancel those.
Expected Behavior
Ajax requests for older query search should be cancelled to preserve server capacity.
Environment
The text was updated successfully, but these errors were encountered: