diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-12-04 05:56:49 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-12-04 05:56:49 +0000 |
commit | dc64887f21d319bb3beb9a71dcc487641ebf8c1f (patch) | |
tree | f1cae8b32771df569d249c542f78a06bed1fda49 /railties/lib | |
parent | 1dfa0bd3728a6c3b8fc037dd6b524044513f5a1d (diff) | |
download | rails-dc64887f21d319bb3beb9a71dcc487641ebf8c1f.tar.gz rails-dc64887f21d319bb3beb9a71dcc487641ebf8c1f.tar.bz2 rails-dc64887f21d319bb3beb9a71dcc487641ebf8c1f.zip |
Connection cache to speed up retrieve_connection and get rid of dirty connection marking. References #428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/dispatcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index e155421cc6..29dae09b55 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -73,7 +73,7 @@ class Dispatcher def reset_after_dispatch reset_application! if Dependencies.load? - ActiveRecord::Base.mark_active_connections_for_verification! + ActiveRecord::Base.clear_connection_cache! Breakpoint.deactivate_drb if defined?(BREAKPOINT_SERVER_PORT) end |