bug: NestJS workers are not cleaned-up
Provide environment information
System: OS: macOS 14.4.1 CPU: (10) arm64 Apple M1 Pro Memory: 192.55 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node Yarn: 1.22.22 - ~/.nvm/versions/node/v18.14.1/bin/yarn npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm pnpm: 8.6.3 - ~/.nvm/versions/node/v18.14.1/bin/pnpm
Describe the bug
The processes are not terminating leading the system to out-of-memory
Reproduction repo
https://github.com/erikash/trigger-nestjs
To reproduce
Trigger the synchronizeAllEmployees job.
Watch the memory and trigger processes count only go up and your system running out of memory
Additional information
I haven't been able to recreate this issue, how are you running the dev command?
I haven't been able to recreate this issue, how are you running the dev command?
npx trigger.dev@beta dev