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 in the Semantic Logger holding onto a connection while resolving an ActiveRecord relation passed to it, which was resolved by logging primitive values instead of lazy objects.