Sha256: ba1b5cdc2e3832cf44529bbbe8e1bbbca70159312d6a03c9c0caad8fe80e897a

Contents?: true

Size: 167 Bytes

Versions: 1

Compression:

Stored size: 167 Bytes

Contents

class ActiveRecord::ConnectionAdapters::ConnectionPool

  def preconnect!
    (size - 1)
      .times
      .map { checkout }
      .each { |c| checkin(c) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar_preconnect-0.1.0 lib/ar_preconnect.rb