Skip to content

Commit

Permalink
perf: reduce number of distributors (#1496)
Browse files Browse the repository at this point in the history
* Load Tests show that one distributor performs better than multiple.
* Removed distributor scaling.
  • Loading branch information
dhhyi authored Sep 6, 2023
1 parent 2d3739e commit 12a8ca6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ssr/server-scripts/build-ecosystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ if (Object.keys(ports).length === 1) {
content += `
- script: dist/server.js
name: distributor
instances: ${process.env.CONCURRENCY_DISTRIBUTOR || 'max'}
exec_mode: cluster
`;
}

Expand Down

0 comments on commit 12a8ca6

Please sign in to comment.