Closed fmiceli24 closed 5 years ago
Anyone?
:+1: A PR could be helpful. I don't have a lot of time for SpeedTest these days. The timeout should be fairly high, maybe 500
or so since they are milliseconds.
That is great! I would do a pull request as soon as I learn how to.
Thanks.
Created pull request with the change:
https://github.com/ddsol/speedtest.net/pull/69
Let me know if I have to make any changes (this is my first PR!!)
Best,
I know this might be a weird very particular situation but I have encountered that in the following environment (on my electron app) the http.get call never invokes the callback unless I set the timeout option.
It does not even time out, but behaves appropriately. If I do not set that option the http.get function does not invoke the callback nor throws an error.
The fix is to set the option just like below.
Anyway. Just wanted to leave it somewhere. Any suggestions for the timeout value for the get operations?