Skip to content

Commit

Permalink
Merge pull request #1208 from alphagov/switch-healthcheck-to-activere…
Browse files Browse the repository at this point in the history
…cord

Switch the /healthcheck/ready endpoint to check ActiveRecord
  • Loading branch information
aldavidson authored Jan 3, 2024
2 parents eb9ca14 + 368b309 commit 886025b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

get "/healthcheck/live", to: proc { [200, {}, %w[OK]] }
get "/healthcheck/ready", to: GovukHealthcheck.rack_response(
GovukHealthcheck::Mongoid,
GovukHealthcheck::ActiveRecord,
)
end

0 comments on commit 886025b

Please sign in to comment.