Merge pull request #46290 from eileencodes/fix-missed-deprecations

Fix missed deprecations
This commit is contained in:
Eileen M. Uchitelle 2022-10-20 11:43:25 -04:00 committed by GitHub
commit be0b5c65a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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