DEV Community


Discussion on: Handling a lot of requests in JavaScript with promises

ajz profile image

I'm making the requests one by one, but I still get the connection reset and timeout errors.

Thread Thread
karataev profile image
Eugene Karataev Author

Well, timeout error may occur in natural way considering that your app crawls websites. You need to catch such errors and handle them appropriately.

I wrote this post because this research helped me to solve problems in my day to day job. This post doesn't have answers for all questions. It can be used as a reference when applied to your specific situation.