homie-gg / homie

1 stars 0 forks source link

fix(Infra/Worker): not terminating when stopped #200

Closed mikewuu closed 2 months ago

mikewuu commented 2 months ago

Workers suddenly stop from time to time. Checking logs shows that an error is thrown, and the script is terminated... BUT the process is still running, which prevents ECS from restarting the container. This might be due to running tsx in watch mode.

This PR updates the worker image to not run in watch mode on prod.

CleanShot 2024-08-11 at 01 44 21@2x