Skip to content

Commit a63c9a0

Browse files
committed
refactor: remove node_args from PM2 config
- Remove custom memory management parameters - Let Node.js handle memory allocation automatically - Simplify configuration
1 parent 5373aed commit a63c9a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ecosystem.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ module.exports = {
3131
kill_timeout: 5000,
3232
listen_timeout: 3000,
3333

34-
node_args: ['--max-old-space-size=110', '--optimize-for-size', '--gc-interval=100'].join(' '),
35-
3634
cron_restart: '0 3 * * *',
3735
wait_ready: true,
3836
post_update: ['npm install', 'npm run build'],

0 commit comments

Comments
 (0)