method

reconnect

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: Mysql2Adapter
reconnect() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 157
        def reconnect
          @lock.synchronize do
            @raw_connection&.close
            @raw_connection = nil
            connect
          end
        end
Register or log in to add new notes.