mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ConnectionPool#disconnect and clear_reloadable_connections are public methods
This commit is contained in:
parent
7acee4d7c0
commit
c93b38c0b1
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ module ActiveRecord
|
|||
[:disconnect, :clear_reloadable_connections].each do |group_action_method|
|
||||
@pool.with_connection do |connection|
|
||||
assert_raises(ExclusiveConnectionTimeoutError) do
|
||||
Thread.new { @pool.send(group_action_method) }.join
|
||||
Thread.new { @pool.public_send(group_action_method) }.join
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue