GlobalTransformCache: increase timeout

Reviewed By: davidaurelio

Differential Revision: D4589052

fbshipit-source-id: 7eaec58a196db7f89b3039afbda4620889c9bcef
This commit is contained in:
Jean Lauliac 2017-02-20 10:39:08 -08:00 committed by Facebook Github Bot
parent 243d0694ff
commit ec51314fc8
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class GlobalTransformCache {
* megabytes each.
*/
_fetchFromURI(uri: string, callback: FetchCallback) {
request.get({uri, json: true, timeout: 4000}, (error, response, unvalidatedResult) => {
request.get({uri, json: true, timeout: 8000}, (error, response, unvalidatedResult) => {
if (error != null) {
callback(error);
return;