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
{{ message }}
Repository navigation
Limit on async requests when using more than six data sources #248
I had the same issue when using typeahead with multiple Bloodhound sources and was able to work around it by including maxPendingRequests in remote for each source, i.e.
var suggestionEngine = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
remote: {
url: "myUrl",
maxPendingRequests: 8,
...
}
});
It seems like the default for maxPendingRequests is 6 based on PR #62. Although even then it seems like requests past the max pending limit should be sent after previous requests have finished rather than just being dropped entirely.
Activity
AzhurV commentedon Nov 18, 2021
I had the same issue when using typeahead with multiple Bloodhound sources and was able to work around it by including maxPendingRequests in remote for each source, i.e.
It seems like the default for maxPendingRequests is 6 based on PR #62. Although even then it seems like requests past the max pending limit should be sent after previous requests have finished rather than just being dropped entirely.