Closed HZSamir closed 7 years ago
Hi,
xhr2 is an external lib we implemented for node.js support. Normaly your approach should work. If not, it might be an issue with the xhr2 lib implementation. Please open an issue there.
Not quite sure but maybe you can try:
xhr = new Xhr2({ timeout: 2000 });
Regards Jan
Thank you for the fast answer. I believe you are right, it is working now. Good day.
Hello, I would like to add a timeout of 2 seconds to all my requests (using NodeJS). I tried modifying the
o.js
file at line 1450 like this:to no avail. Is there some way I can remedy this issue? Thank you.