minor: cleanup
This commit is contained in:
parent
a039f813a7
commit
1a14156206
|
@ -127,7 +127,7 @@ module Mongo
|
|||
@queue = ConditionVariable.new
|
||||
|
||||
# slave_ok can be true only if one node is specified
|
||||
@slave_ok = options[:slave_ok]
|
||||
@slave_ok = options[:slave_ok]
|
||||
|
||||
# Cache the various node types
|
||||
# when connecting to a replica set.
|
||||
|
@ -142,9 +142,6 @@ module Mongo
|
|||
@secondary_pools = []
|
||||
@read_pool = nil
|
||||
|
||||
# Maps sockets to pools for checkin
|
||||
@pool_map = {}
|
||||
|
||||
@logger = options[:logger] || nil
|
||||
|
||||
should_connect = options.fetch(:connect, true)
|
||||
|
|
Loading…
Reference in New Issue