Skip to content

Commit 1a14156

Browse files
committed
minor: cleanup
1 parent a039f81 commit 1a14156

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/mongo/connection.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def initialize(host=nil, port=nil, options={})
127127
@queue = ConditionVariable.new
128128

129129
# slave_ok can be true only if one node is specified
130-
@slave_ok = options[:slave_ok]
130+
@slave_ok = options[:slave_ok]
131131

132132
# Cache the various node types
133133
# when connecting to a replica set.
@@ -142,9 +142,6 @@ def initialize(host=nil, port=nil, options={})
142142
@secondary_pools = []
143143
@read_pool = nil
144144

145-
# Maps sockets to pools for checkin
146-
@pool_map = {}
147-
148145
@logger = options[:logger] || nil
149146

150147
should_connect = options.fetch(:connect, true)

0 commit comments

Comments
 (0)