TLDR Web Dev · QUICK LINKS
THE UNEXPECTED DB CONNECTION POOL LEAK IN OUR RAILS APP
Summary from the TLDR Web Dev newsletter
A Rails application experienced an unexpected database connection pool leak due to a background thread within the Semantic Logger holding onto a connection while trying to resolve a lazy-loaded ActiveRecord relation, which was resolved by logging only primitive values and monitoring connection pool stats.