I want to update an app on shinyapps.io, which almost always has at least one active. As far as I understand, if I redeploy, all active instances are restarted, which would result in data loss for users.
What is the best practice to avoid this?
A naive solution that would work for me at the moment is receiving an email notification when there are no active instances. However, I haven’t been able to find such a feature. Manually checking for active instances could be a last resort, but that seems quite cumbersome, especially since every time I’ve checked so far, there has always been at least one active instance.