Server Slow To Startup on Railway
I have a node server deployed on railway and whenever my frontend makes calls to it the first request is always a failure and then if I refresh and try again then it works. I'm new to web development so I don't exactly know what's causing this but maybe the server is just slow to start up? If anyone knows, what are my options to fix this issue?
6 Replies
Project ID:
N/A
use a healthcheck so that railway knows when to actually switch over to the new deployment
Sorry, could you elaborate? I
read this page
https://docs.railway.app/deploy/healthchecks
I looked into the healthcheck feature but Im unsure if that's gonna help
because just switching to another branch wont make the server any faster
please read