Skip to content

Commit aedf69c

Browse files
committed
[flow] Remove CI_MAX_WORKERS option
This was vestigial from from circleci and now that we're on GH actions I think we should be able to remove this altogether. ghstack-source-id: 78e8b02 Pull Request resolved: #30753
1 parent a960b92 commit aedf69c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

scripts/flow/config/flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
untyped-type-import=error
3434

3535
[options]
36-
%CI_MAX_WORKERS%
3736
munge_underscores=false
3837

3938
# Substituted by createFlowConfig.js:

scripts/flow/createFlowConfigs.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ function writeConfig(
107107
});
108108

109109
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-
)
115110
.replace('%REACT_RENDERER_FLOW_OPTIONS%', moduleMappings.trim())
116111
.replace('%REACT_RENDERER_FLOW_IGNORES%', ignoredPaths.join('\n'))
117112
.replace('%FLOW_VERSION%', flowVersion);

0 commit comments

Comments
 (0)