Skip to content

Commit 0a45abf

Browse files
committed
chore: add docker healthcheck for worker and server
1 parent ae41499 commit 0a45abf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/controllers/health_controller.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def check_database
3737
def check_redis
3838
Sidekiq.redis(&:ping)
3939
true
40-
rescue Redis::CannotConnectError => e
40+
rescue StandardError => e
4141
Rails.logger.error("Redis health check failed: #{e.message}")
4242
false
4343
end
@@ -50,4 +50,3 @@ def silence_logger
5050
Rails.logger.level = old_level
5151
end
5252
end
53-

0 commit comments

Comments
 (0)