Sha256: 3b64e010208cfa8de567e9060001b5665c8eb25860009250101236f3085c99e7
Contents?: true
Size: 439 Bytes
Versions: 36
Compression:
Stored size: 439 Bytes
Contents
module PrimarySocket def self.included(base) base.class_eval do let(:primary_server) do client.cluster.next_primary end let(:primary_connection) do connection = primary_server.pool.check_out connection.connect! primary_server.pool.check_in(connection) connection end let(:primary_socket) do primary_connection.send(:socket) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems