Skip to content

Add /-/health basic health check endpoint

Stan Hu requested to merge sh-simplify-liveness-check into master

The previous implementation would hit the database each time and provide a dummy response. If the database goes down, this means all application workers would be taken out of service. Simplify this check by using a Rails middleware that intercepts this endpoint and returns a 200 response.

This relates to gitlab-com/migration#624 (moved).

Edited by Stan Hu

Merge request reports