Sha256: 23583925670be357d94e496242a1c729717742f84b05e255feaeae735b37324f
Contents?: true
Size: 334 Bytes
Versions: 3
Compression:
Stored size: 334 Bytes
Contents
module Activerecord::Mysql::Reconnect::NewConnectionWithRetry def new_connection Activerecord::Mysql::Reconnect.retryable( :proc => proc { super }, :connection => spec.config, ) end end class ActiveRecord::ConnectionAdapters::ConnectionPool prepend Activerecord::Mysql::Reconnect::NewConnectionWithRetry end
Version data entries
3 entries across 3 versions & 1 rubygems