aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/code_statistics.rb
diff options
context:
space:
mode:
authorAndrew Selder <aselder@nextag.com>2012-05-23 11:08:41 -0700
committerAndrew Selder <aselder@nextag.com>2012-05-23 11:08:41 -0700
commite663aa39aa8599f01cce2f61c68e8bea736fc186 (patch)
treeb5fde51c08b212c7fec13d29ff50b1973f845eb9 /railties/lib/rails/code_statistics.rb
parentff3cddf8763e100947cdffe9c25716e93ccbac62 (diff)
downloadrails-e663aa39aa8599f01cce2f61c68e8bea736fc186.tar.gz
rails-e663aa39aa8599f01cce2f61c68e8bea736fc186.tar.bz2
rails-e663aa39aa8599f01cce2f61c68e8bea736fc186.zip
Synchronize the ConnectionPool#release method to avoid thread safety issues [#6464]
Fixes #6464 Synchronize the contents of the release method in ConnectionPool due to errors when running in high concurrency environments. Detected invalid hash contents due to unsynchronized modifications with concurrent users org/jruby/RubyHash.java:1356:in `keys' /usr/local/rvm/gems/jruby-1.6.7@new_import/gems/activerecord-3.2.3/lib/a ctive_record/connection_adapters/abstract/connection_pool.rb:294:in `release' /usr/local/rvm/gems/jruby-1.6.7@new_import/gems/activerecord-3.2.3/lib/a ctive_record/connection_adapters/abstract/connection_pool.rb:282:in `checkin'
Diffstat (limited to 'railties/lib/rails/code_statistics.rb')
0 files changed, 0 insertions, 0 deletions