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

Multiple requests - being silently aborted and throwing timeouts etc? #60

Closed
kylane opened this issue Dec 14, 2020 · 0 comments
Closed

Comments

@kylane
Copy link

kylane commented Dec 14, 2020

Hi guys,

New to jsonp - but Im using it to fetch a list of options for an autocomplete input - so as a user types we send the value to the endpoint - and depending on how fast they type, we may end up with a half dozen requests within the default 5000ms timeout for the first request - and from what I can see, only the latest request ends up getting a response - and the others timeout.

Other than throttling the requests from the front end - is there a better way to handle these silent aborts?

Any advice appreciated!

@camsong camsong closed this as completed Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants