by atonse · 6y ago · 0 comments
That's how I'd probably do it but I'd rather not reinvent the wheel if someone's already done it.
In both cases you might have short service interruptions. So why not simply restart the app which is definitely more technology agnostic.
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.