Merge pull request #46290 from eileencodes/fix-missed-deprecations
Fix missed deprecations
This commit is contained in:
commit
be0b5c65a1
@ -324,8 +324,8 @@ class Railtie < Rails::Railtie # :nodoc:
|
||||
# this connection is trivial: the rest of the pool would need to be
|
||||
# populated anyway.
|
||||
|
||||
clear_active_connections!(:all)
|
||||
flush_idle_connections!(:all)
|
||||
connection_handler.clear_active_connections!(:all)
|
||||
connection_handler.flush_idle_connections!(:all)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user