GlobalTransformCache: increase timeout
Reviewed By: davidaurelio Differential Revision: D4589052 fbshipit-source-id: 7eaec58a196db7f89b3039afbda4620889c9bcef
This commit is contained in:
parent
564126f2bf
commit
a7d3940de6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue