Skip to content

Commit

Permalink
[flow] Remove CI_MAX_WORKERS option
Browse files Browse the repository at this point in the history
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: #30753
  • Loading branch information
poteto committed Aug 20, 2024
1 parent a960b92 commit 5997072
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion scripts/flow/config/flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
untyped-type-import=error

[options]
%CI_MAX_WORKERS%
munge_underscores=false

# Substituted by createFlowConfig.js:
Expand Down
5 changes: 0 additions & 5 deletions scripts/flow/createFlowConfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ function writeConfig(
});

const config = configTemplate
.replace(
'%CI_MAX_WORKERS%\n',
// On CI, we seem to need to limit workers.
process.env.CI ? 'server.max_workers=4\n' : '',
)
.replace('%REACT_RENDERER_FLOW_OPTIONS%', moduleMappings.trim())
.replace('%REACT_RENDERER_FLOW_IGNORES%', ignoredPaths.join('\n'))
.replace('%FLOW_VERSION%', flowVersion);
Expand Down

0 comments on commit 5997072

Please sign in to comment.