diff --git a/react-packager/src/lib/GlobalTransformCache.js b/react-packager/src/lib/GlobalTransformCache.js index dcf327ee..77565905 100644 --- a/react-packager/src/lib/GlobalTransformCache.js +++ b/react-packager/src/lib/GlobalTransformCache.js @@ -273,7 +273,7 @@ class GlobalTransformCache { * megabytes each. */ _fetchFromURI(uri: string, callback: FetchCallback) { - request.get({uri, json: true}, (error, response, unvalidatedResult) => { + request.get({uri, json: true, timeout: 4000}, (error, response, unvalidatedResult) => { if (error != null) { callback(error); return;