提交 aa3ff85f 编写于 作者: R Rafael Mendonça França

Merge pull request #11230 from frodsan/remove_deprecated_clear_stale_cached_connections_method

Remove AR::Connection#clear_stale_cached_connections! deprecated method
...@@ -332,11 +332,6 @@ def clear_reloadable_connections! ...@@ -332,11 +332,6 @@ def clear_reloadable_connections!
end end
end end
def clear_stale_cached_connections! # :nodoc:
reap
end
deprecate :clear_stale_cached_connections! => "Please use #reap instead"
# Check-out a database connection from the pool, indicating that you want # Check-out a database connection from the pool, indicating that you want
# to use it. You should call #checkin when you no longer need this. # to use it. You should call #checkin when you no longer need this.
# #
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册