mirror of https://github.com/status-im/metro.git
GlobalTransformCache: increase timeout
Reviewed By: davidaurelio Differential Revision: D4589052 fbshipit-source-id: 7eaec58a196db7f89b3039afbda4620889c9bcef
This commit is contained in:
parent
243d0694ff
commit
ec51314fc8
|
@ -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