aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-03-17 17:13:00 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-03-17 17:13:00 -0700
commit8f218266bb4fa4ef2a07904b106c72fda9e182a6 (patch)
tree3065ab1e65e9577c11e04d51f12c56e4da4dba69 /activerecord/CHANGELOG.md
parent4a69c933cf07ee296a4ae1e2612c31922019eeab (diff)
parent9e457a8654fa89fe329719f88ae3679aefb21e56 (diff)
downloadrails-8f218266bb4fa4ef2a07904b106c72fda9e182a6.tar.gz
rails-8f218266bb4fa4ef2a07904b106c72fda9e182a6.tar.bz2
rails-8f218266bb4fa4ef2a07904b106c72fda9e182a6.zip
Merge pull request #14360 from matthewd/thread_aware_reaper
Track owning thread for connection pool
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index b648eed06a..f5b8a3145d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,11 @@
+* Reap connections that were checked out by now-dead threads, instead
+ of waiting until they disconnect by themselves. Before this change,
+ a suitably constructed series of short-lived threads could starve
+ the connection pool, without ever having more than a couple alive at
+ the same time.
+
+ *Matthew Draper*
+
* `where.not` adds `references` for `includes` like normal `where` calls do.
Fixes #14406.