From b4c44281238361015e3dc825f35690116dd204f0 Mon Sep 17 00:00:00 2001 From: Matt Moretti Date: Fri, 24 Apr 2026 14:27:56 -0400 Subject: [PATCH] Add a check for database connectivity to `/up` This is the same check added in #243 with an eye towards Kamal --- lib/eam_app.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/eam_app.rb b/lib/eam_app.rb index 21e15aa..8620d7f 100644 --- a/lib/eam_app.rb +++ b/lib/eam_app.rb @@ -65,6 +65,7 @@ def respond_with_fuelings end get '/up' do + ApplicationRecord.connection.execute('SELECT 1') 200 end