Skip to content

fix: use standalone worker process - #4

Merged
realcodesiman merged 1 commit into
mainfrom
fix/worker-memory-growth
Oct 30, 2026
Merged

realcodesiman merged 1 commit into
mainfrom
fix/worker-memory-growth

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Problem

The Compose worker command overrides the image default with worker all, which launches one Node.js process per queue and exhausts memory while idle.

Decision

Remove the override so Docker uses the worker image's consolidated worker standalone default. Document that worker all is an explicit high-capacity mode.

Check

  • docker compose config -q
  • docker compose run --rm --no-deps -e NODE_BIN=echo worker outputs /app/apps/worker/dist/standalone.mjs

Fixes ChatbotXIO/ChatbotX#1255

@realcodesiman
realcodesiman merged commit 2a947fd into main Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

worker container: unbounded memory growth across all queues within seconds, even with empty Redis backlog (reproducible on latest and 1.6.0) Corps :

1 participant