mirror of https://github.com/status-im/metro.git
metro-bundler: temporary increase of the transform timeout
Summary: We'll revert when the root problem is fixed, that should mitigate for now. What might be the root problem, I believe, is that when there are some cached files already on the machine, we immediately try to build all the dependencies, but the worker farm is queuing these and it takes a long time to finish. The timeout should include only the transformation time, not the queuing. I'll fix that separately. Reviewed By: mjesun Differential Revision: D5650380 fbshipit-source-id: f4b045876cc822caee3998f69ca98ea986709bf4
This commit is contained in:
parent
c6794aabd9
commit
55986976b1
|
@ -43,7 +43,7 @@ type Denodeify = (<A, B, C, T>(
|
|||
const MAX_CALLS_PER_WORKER = 600;
|
||||
|
||||
// Worker will timeout if one of the callers timeout.
|
||||
const TRANSFORM_TIMEOUT_INTERVAL = 301000;
|
||||
const TRANSFORM_TIMEOUT_INTERVAL = 601000;
|
||||
|
||||
// How may times can we tolerate failures from the worker.
|
||||
const MAX_RETRIES = 2;
|
||||
|
|
Loading…
Reference in New Issue