Skip to content

Commit

Permalink
perf: increase pm2 SSR max memory (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi committed Sep 5, 2023
1 parent d5f749c commit a081c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssr/server-scripts/build-ecosystem.js
Expand Up @@ -34,7 +34,7 @@ Object.entries(ports).forEach(([theme, port]) => {
name: ${theme}
instances: ${process.env.CONCURRENCY_SSR || 2}
exec_mode: cluster
max_memory_restart: ${process.env.SSR_MAX_MEM || '400M'}
max_memory_restart: ${process.env.SSR_MAX_MEM || '600M'}
env:
BROWSER_FOLDER: dist/${theme}/browser
PORT: ${port}
Expand Down

0 comments on commit a081c94

Please sign in to comment.