Skip to content

Add support in Gitlab::Database for checking PostgreSQL replication lag

Stan Hu requested to merge sh-add-replication-lag-query into master

We are starting to use this query in a bunch of places (e.g. Geo, load balancing, etc.), so to reduce code duplication we should have it in one central place.

Merge request reports