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:
Jean Lauliac 2017-08-17 11:23:40 -07:00 committed by Facebook Github Bot
parent c6794aabd9
commit 55986976b1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ type Denodeify = (<A, B, C, T>(
const MAX_CALLS_PER_WORKER = 600; const MAX_CALLS_PER_WORKER = 600;
// Worker will timeout if one of the callers timeout. // 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. // How may times can we tolerate failures from the worker.
const MAX_RETRIES = 2; const MAX_RETRIES = 2;