Permalink
Browse files

deprecated clear_stale_active_connections! can call #reap instead of …

…no-op'ing, #reap does the same thing
  • Loading branch information...
1 parent ca99beb commit 27ebb3dc8cb57d17a2ef7aa0e358489bc7bf4c86 @jrochkind jrochkind committed Mar 12, 2012
@@ -186,8 +186,9 @@ def clear_reloadable_connections!
end
def clear_stale_cached_connections! # :nodoc:
+ reap
end
- deprecate :clear_stale_cached_connections!
+ deprecate :clear_stale_cached_connections! => "Please use #reap instead"
# 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.

0 comments on commit 27ebb3d

Please sign in to comment.