-
Notifications
You must be signed in to change notification settings - Fork 299
No timeout on ipfs.ls is called #71
Comments
Our general view with timeouts is that they're extremely hard to choose This is actually a very serious problem in the developing world. Many web in general, instead of prescribing what timeouts "make sense", we try to
a huge timeout value could be like 30min. (but note even that is not right On Monday, October 5, 2015, Denis Erfurt [email protected] wrote:
|
I would like to suggest doing something like this:
Two changes required for this to happen:
|
maybe call it |
maybe have |
How does everyone feel about this issue? Something to be added meanwhile? |
There is more to this discussion, follow here -> https://github.com/ipfs/interface-ipfs-core/issues/58 |
@diasdavid I suggest moving this to milestone 4 |
Is there a reason why no timeout implemented on the http.request? My problem is: If I request an unavailable hash, the request and its socket stays open forever, which causes problems.
Tested on DigitalOcean Ubuntu 14.04 and OS X 10.10 With node 4.0.0 and ipfs version 0.3.8-dev.
In the following code the callback is never called:
The text was updated successfully, but these errors were encountered: