[flow] Remove CI_MAX_WORKERS option
Noticed this from #30707. This was vestigial from from circleci and now that we're on GH actions I think we should be able to remove this option altogether. ghstack-source-id: 78e8b0243b1e1484ffaad820987ae3679a7374bf Pull Request resolved: https://github.com/facebook/react/pull/30753
Lauren Tan committed
Aug 20, 2024 at 11:05 UTC
5997072f691024e0e5afd78c002c0871b1cbd6a6
2 files changed
-6
scripts/flow/config/flowconfig
-1
@@ -33,7 +33,6 @@
33
untyped-type-import=error
34
35
[options]
36
-%CI_MAX_WORKERS%
36
munge_underscores=false
37
38
# Substituted by createFlowConfig.js:
scripts/flow/createFlowConfigs.js
-5
@@ -107,11 +107,6 @@ function writeConfig(
107
});
108
109
const config = configTemplate
110
- .replace(
111
- '%CI_MAX_WORKERS%\n',
112
- // On CI, we seem to need to limit workers.
113
- process.env.CI ? 'server.max_workers=4\n' : '',
114
- )
110
.replace('%REACT_RENDERER_FLOW_OPTIONS%', moduleMappings.trim())
111
.replace('%REACT_RENDERER_FLOW_IGNORES%', ignoredPaths.join('\n'))
112
.replace('%FLOW_VERSION%', flowVersion);