Fix connection pool errors when health check is running
What does this MR do and why?
Prevent connection pool errors when health check is checking for pending DB migrations
References
Related to #573581 (closed)
How to set up and validate locally
- On one terminal, run:
while true; do curl http://gdk.test:3000/health_check; done - Browse any page on the GDK instance and you'll see the connection pool errors
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Heinrich Lee Yu