diff --git a/packager/react-packager/src/lib/GlobalTransformCache.js b/packager/react-packager/src/lib/GlobalTransformCache.js index dcf327ee3..77565905c 100644 --- a/packager/react-packager/src/lib/GlobalTransformCache.js +++ b/packager/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;