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 коммит произвёл Facebook Github Bot
Родитель 564126f2bf
Коммит a7d3940de6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -237,7 +237,7 @@ class GlobalTransformCache {
* megabytes each. * megabytes each.
*/ */
_fetchFromURI(uri: string, callback: FetchCallback) { _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) { if (error != null) {
callback(error); callback(error);
return; return;