Hacker News new | ask | show | jobs
by wolf4earth 2235 days ago
At the end of the day, what's the difference between restarting the app because you updated an environment variable, or restarting the repo?

In both cases you might have short service interruptions. So why not simply restart the app which is definitely more technology agnostic.

1 comments

This would amount to potentially "restarting" the app every hour? That would cause potential errors every hour.

I think I saw somewhere that it's actually quite easy to do this with OTP. You can just tell the supervisor to kill the children and when they respawn, they'll pick up the new credentials.