diff options
author | wycats <wycats@gmail.com> | 2010-06-04 09:47:37 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-04 20:11:05 -0700 |
commit | a87b62729715fb286ea613e6e3ec59135a82529d (patch) | |
tree | b2f4b20c5d5d916f0ce8865e75d05b198856d11a /activerecord/lib | |
parent | ab1407cc5bbfe67f9e59335fe0a4e8ac82d513c6 (diff) | |
download | rails-a87b62729715fb286ea613e6e3ec59135a82529d.tar.gz rails-a87b62729715fb286ea613e6e3ec59135a82529d.tar.bz2 rails-a87b62729715fb286ea613e6e3ec59135a82529d.zip |
Use faster form of running callbacks
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index bf8c546d2e..dfc76fcae7 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -211,7 +211,7 @@ module ActiveRecord # calling +checkout+ on this pool. def checkin(conn) @connection_mutex.synchronize do - conn.run_callbacks :checkin do + conn._run_checkin_callbacks do @checked_out.delete conn @queue.signal end |