Tiago Ameller PRO said almost 5 years ago on Creating Health Checks :
This line `ApplicationRecord.connected?`is returning false most of the times. If I `curl` to my production server twice in a row, second time it returns true, but first one false. I changed it for: `User.count > 0`, which is true all times (unless site is down, of course) This a Rails 5 app. Database connections are not permanent?