Skip to content

Commit

Permalink
Increase worker-farm timeout
Browse files Browse the repository at this point in the history
Reviewed By: davidaurelio

Differential Revision: D2806738

fb-gh-sync-id: a165578002415388af830f77bd96f4888143028f
  • Loading branch information
martinbigio authored and facebook-github-bot-4 committed Jan 6, 2016
1 parent 5b3cb05 commit 0d4cfa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packager/react-packager/src/JSTransformer/index.js
Expand Up @@ -24,10 +24,10 @@ const readFile = Promise.denodeify(fs.readFile);
const MAX_CALLS_PER_WORKER = 600;

// Worker will timeout if one of the callers timeout.
const DEFAULT_MAX_CALL_TIME = 120000;
const DEFAULT_MAX_CALL_TIME = 300000;

// How may times can we tolerate failures from the worker.
const MAX_RETRIES = 3;
const MAX_RETRIES = 2;

const validateOpts = declareOpts({
projectRoots: {
Expand Down

0 comments on commit 0d4cfa0

Please sign in to comment.