Class: ActiveRecord::ConnectionAdapters::ConnectionPool
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::ConnectionPool
- Defined in:
- lib/activerecord/mysql/reconnect/connection_pool_ext.rb
Instance Method Summary collapse
Instance Method Details
#new_connection_with_retry ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/activerecord/mysql/reconnect/connection_pool_ext.rb', line 2 def new_connection_with_retry Activerecord::Mysql::Reconnect.retryable( :proc => proc { new_connection_without_retry } ) end |