5 months ago
Hi, for one of our apps, we have it set to always restart when it crashes. Just now we had an hour long outage where I think it crashed many times, then gave up. I just saw the outage and manually restarted and it worked fine. (We had a database issue, where our database was unresponsive for a few minutes.) I would GREATLY prefer that it always kept restarting indefinitely. Right now it seems to give up after n number of times. Can you make that option work as described, to continuously and always keep restarting?
Thanks,
Riley
2 Replies
5 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
5 months ago
Yup. Change the restart policy from onfailure:10 to Always under service settings
Status changed to Awaiting User Response Railway • 5 months ago
4 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 4 months ago