mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
GlobalTransformCache: increase timeout
Reviewed By: davidaurelio Differential Revision: D4589052 fbshipit-source-id: 7eaec58a196db7f89b3039afbda4620889c9bcef
This commit is contained in:
committed by
Facebook Github Bot
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;
|
||||
|
||||
Reference in New Issue
Block a user