R
Railway9mo ago
Dem

Service down with every deployment

I have a service with volume and it is down for a few minutes every time I deploy. We have customers using the service 24/7, is there a fix?
Solution:
it's still possible to have downtime without a volume, but it would be less downtime. what I've seen work for a lot of users (including myself) to eliminate downtime between deploys, would be, no volume, use a readiness heath check, and set a service variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS to 35...
Jump to solution
8 Replies
Percy
Percy9mo ago
Project ID: N/A
Dem
Dem9mo ago
N/A
Adam
Adam9mo ago
Are you using volumes on your deployment? If so there will be some downtime. That shouldn’t result in minutes though
Dem
Dem9mo ago
Yup I’m using volume I see.. If I remove volume will it not have any downtime?
Solution
Brody
Brody9mo ago
it's still possible to have downtime without a volume, but it would be less downtime. what I've seen work for a lot of users (including myself) to eliminate downtime between deploys, would be, no volume, use a readiness heath check, and set a service variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS to 35
Dem
Dem9mo ago
How do I set that variable? Is it like any other Env variable
Brody
Brody9mo ago
yep, like any other service variable
Dem
Dem9mo ago
Ok, thanks!
Want results from more Discord servers?
Add your server