diff options
author | Matthew Draper <matthew@trebex.net> | 2017-11-25 16:05:13 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2017-11-26 15:12:50 +1030 |
commit | 9027fafff6da932e6e64ddb828665f4b01fc8902 (patch) | |
tree | 8099cb670482a0b44e39d68a3f69fb83ce6511f5 /activerecord/lib/active_record/connection_handling.rb | |
parent | 2ec9c532cbbdbe636a17411db3f9de47ca6a81c1 (diff) | |
download | rails-9027fafff6da932e6e64ddb828665f4b01fc8902.tar.gz rails-9027fafff6da932e6e64ddb828665f4b01fc8902.tar.bz2 rails-9027fafff6da932e6e64ddb828665f4b01fc8902.zip |
Flush idle database connections
Diffstat (limited to 'activerecord/lib/active_record/connection_handling.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_handling.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_handling.rb b/activerecord/lib/active_record/connection_handling.rb index 9a47edfba4..88d28dc52a 100644 --- a/activerecord/lib/active_record/connection_handling.rb +++ b/activerecord/lib/active_record/connection_handling.rb @@ -140,6 +140,6 @@ module ActiveRecord end delegate :clear_active_connections!, :clear_reloadable_connections!, - :clear_all_connections!, to: :connection_handler + :clear_all_connections!, :flush_idle_connections!, to: :connection_handler end end |