arsarsarsars
HOBBYOP
a year ago
Title ^
10 Replies
a year ago
click remove on the deployment?

a year ago
Railway sends a SIGTERM first to give the deployment some time to exit. If the deployment doesn't exit within approximately 20 seconds, then Railway issues a SIGKILL so yes it's not an interrupt
a year ago
And no way to change that afaik
a year ago
what's your use case though?
a year ago
then you're looking for https://docs.railway.com/guides/deployment-teardown
a year ago
there you can customize the time between SIGTERM and SIGKILL with RAILWAY_DEPLOYMENT_OVERLAP_SECONDS
I've set the draining time to 10 seconds, and when I remove a deployment, the bot starts again and then receives a SIGTERM in 10 seconds as it should
