tradeoff memory for throughput in prod

This commit is contained in:
k00b 2024-10-10 18:11:39 -05:00
parent ce2d7e5791
commit 915fc87596
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"dev": "NODE_OPTIONS='--trace-warnings' next dev", "dev": "NODE_OPTIONS='--trace-warnings' next dev",
"build": "next build", "build": "next build",
"migrate": "prisma migrate deploy", "migrate": "prisma migrate deploy",
"start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=4096' next start -p $PORT --keepAliveTimeout 120000", "start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=4096 --max-semi-space-size=128' next start -p $PORT --keepAliveTimeout 120000",
"lint": "standard", "lint": "standard",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest", "test": "NODE_OPTIONS='--experimental-vm-modules' jest",
"worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js", "worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js",