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:Jump to 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
...8 Replies
Project ID:
N/A
N/A
Are you using volumes on your deployment? If so there will be some downtime. That shouldn’t result in minutes though
Yup I’m using volume
I see.. If I remove volume will it not have any downtime?
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
How do I set that variable? Is it like any other Env variable
yep, like any other service variable
Ok, thanks!