Change health check (#15988)
parent
abad99fa10
commit
82cce18227
@ -0,0 +1,7 @@ |
|||||||
|
# frozen_string_literal: true |
||||||
|
|
||||||
|
class HealthController < ActionController::Base |
||||||
|
def show |
||||||
|
render plain: 'OK' |
||||||
|
end |
||||||
|
end |
@ -1,8 +0,0 @@ |
|||||||
HealthCheck.setup do |config| |
|
||||||
config.uri = 'health' |
|
||||||
|
|
||||||
config.standard_checks = %w(database migrations cache) |
|
||||||
config.full_checks = %w(database migrations cache) |
|
||||||
|
|
||||||
config.include_error_in_response_body = false |
|
||||||
end |
|
Loading…
Reference in new issue