Reputation: 133
My app sometimes crashes and I would like to know if there is a Add-on or Dyno that I can deploy which will detect when my app is crashed and restart is automatically.
Upvotes: 3
Views: 3463
Reputation:
There's no add-on which will auto-deploy your crashed app on heroku, but here's a work around.
When you encounter an "app crash" situation, it usually means only the "web dyno" is crashed. Your service workers might still be running. Though this approach answers your query, I would recommend not to use it in practice because you would want to manually see you logs, find the reason for app-crash and fix it so you don't have to face it in future.
Upvotes: 6