linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
565 stars 143 forks source link

Default fetcher timeouts are too shprt #455

Open timbl opened 3 years ago

timbl commented 3 years ago

They are set to 30s by default. Suggest 2 mins, os that if someone is on a flakey line they don't get a 'fetcher timed out' error when in fact if they had waited they would have got the data.

timbl commented 3 years ago

See PR https://github.com/linkeddata/rdflib.js/pull/454

michielbdejong commented 3 years ago

I think most responses that take more than 30s are themselves waiting for some timer to time out?

See also the contradictory situation here when for instance the rdflib code in NSS is trying to read in an external vcard group to decide on an ACL, https://gitter.im/solid/solidcommunity.net?at=5fa54c68c10273610aeca65a

Maybe making the default timeout shorter rather than longer would have the desired effect of making NSS faster?