R
Railway6mo ago
HunterB

Graceful termination on deployment (SIGTERM wait duration?)

Hey Railway, we're happy using Railway for our backend (770d5016-c768-4811-af6f-ada60e049899). However, we've run into an issue where a Celery worker doesn't finish tasks fast enough, and Railway interrupts them during a service deployment. This is particularly painful because we're using automatic deployments from GitHub commits.
Is there anyway to customize the amount of time that Railway will wait before terminating our worker during a deployment? Can we extend this to 5 minutes?
2 Replies
Percy
Percy6mo ago
Project ID: 770d5016-c768-4811-af6f-ada60e049899
Brody
Brody6mo ago
the graceful wait is 3 seconds, there is no way to extend this