Today we had brief downtime incident, caused due to hardware/network failure on our database server.
When the incident occurred we received an automated email notice from Heroku (our cloud service provider). The database service was restored after 2 mins of downtime.
This was not a code related issue and rather a service provider issue, in such cases we would cases we reach out to our service provider and wait for them to resolve the issue.
Screenshots attached for reference: