mirror of https://github.com/status-im/metro.git
fix: increased fs timeout for assetserver to test if this helps for large codebases
Reviewed By: jingc Differential Revision: D3528913 fbshipit-source-id: f04eff42327bd729ebfcd71856a1d38ef9810986
This commit is contained in:
parent
81961d8756
commit
7ae3a72b5b
|
@ -28,9 +28,9 @@ function timeoutableDenodeify(fsFunc, timeout) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const stat = timeoutableDenodeify(fs.stat, 5000);
|
const stat = timeoutableDenodeify(fs.stat, 15000);
|
||||||
const readDir = timeoutableDenodeify(fs.readdir, 5000);
|
const readDir = timeoutableDenodeify(fs.readdir, 15000);
|
||||||
const readFile = timeoutableDenodeify(fs.readFile, 5000);
|
const readFile = timeoutableDenodeify(fs.readFile, 15000);
|
||||||
|
|
||||||
const validateOpts = declareOpts({
|
const validateOpts = declareOpts({
|
||||||
projectRoots: {
|
projectRoots: {
|
||||||
|
|
Loading…
Reference in New Issue