Question about how to properly end a railway deployment.
I have a nodejs runtime that is running as a deployment, but after it finishes executing the deployment is still active. It is also still using memory i think. Is there a good way to make sure its not running? Logs say "container event container died" but i want to make sure its not charging me.
8 Replies
Project ID:
808d69ee-f688-4ec9-b90d-0be6af1aa4a0
808d69ee-f688-4ec9-b90d-0be6af1aa4a0
that deployment is not a cron job, thats a regular deployment
good catch. Is it safe to say that its stopped and no longer using resources?
nope, you can not trust the state as listed on the deployment, for example, it says completed, but its still handling requests - https://utilities.up.railway.app
Solution
a surefire way to know would be to look for a container event log -
gotcha
preciate it
no problem!