From 7ae3a72b5b44dfc3e888dfa0e114e31bee2920ab Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Thu, 7 Jul 2016 11:40:52 -0700 Subject: [PATCH] fix: increased fs timeout for assetserver to test if this helps for large codebases Reviewed By: jingc Differential Revision: D3528913 fbshipit-source-id: f04eff42327bd729ebfcd71856a1d38ef9810986 --- react-packager/src/AssetServer/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/react-packager/src/AssetServer/index.js b/react-packager/src/AssetServer/index.js index 65f1edcf..88a7bebe 100644 --- a/react-packager/src/AssetServer/index.js +++ b/react-packager/src/AssetServer/index.js @@ -28,9 +28,9 @@ function timeoutableDenodeify(fsFunc, timeout) { }; } -const stat = timeoutableDenodeify(fs.stat, 5000); -const readDir = timeoutableDenodeify(fs.readdir, 5000); -const readFile = timeoutableDenodeify(fs.readFile, 5000); +const stat = timeoutableDenodeify(fs.stat, 15000); +const readDir = timeoutableDenodeify(fs.readdir, 15000); +const readFile = timeoutableDenodeify(fs.readFile, 15000); const validateOpts = declareOpts({ projectRoots: {