Commit 40d6748
fix(render): honor WEB_CONCURRENCY for worker count
Render auto-sets WEB_CONCURRENCY based on the instance's CPU/memory (1 on
the free tier). Hardcoding --workers 4 caused workers to be OOM-killed
on the free tier — the parent kept respawning replacements, producing a
steady stream of "Child process died" messages and wasted resources.
Default to 1 if WEB_CONCURRENCY is unset.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 58a36a0 commit 40d6748
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments