diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-03-01 22:09:46 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-03-01 22:09:46 +0000 |
commit | d28c0f740577cdbcbd00e84c0c20aa4903875f37 (patch) | |
tree | 16e58254fd9c1f19aa81185fbc9a57081e30e1b4 /activerecord/lib/active_record/connection_adapters | |
parent | 2b02596b964302ecbc38cb39bf820af6e32ee95e (diff) | |
download | rails-d28c0f740577cdbcbd00e84c0c20aa4903875f37.tar.gz rails-d28c0f740577cdbcbd00e84c0c20aa4903875f37.tar.bz2 rails-d28c0f740577cdbcbd00e84c0c20aa4903875f37.zip |
Typo in stale thread removal.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb index d933a44878..b3ba99a013 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb @@ -98,7 +98,7 @@ module ActiveRecord stale = Set.new(cache.keys) Thread.list.each do |thread| - stale -= t.object_id if t.alive? + stale -= thread.object_id if t.alive? end stale.each do |thread_id| |