Closed ungoldman closed 8 years ago
Calls to latest.json have been timing out for me a lot lately. This PR adds a timeout to the request and modifies the resolveDate function signature to provide an opportunity to catch the error.
latest.json
resolveDate
Might be worth exposing timeout as an option in the future, as 30 seconds is pretty high.
timeout
Calls to
latest.json
have been timing out for me a lot lately. This PR adds a timeout to the request and modifies theresolveDate
function signature to provide an opportunity to catch the error.