minor: cleanup

This commit is contained in:
Kyle Banker 2010-11-29 14:06:38 -05:00
parent a039f813a7
commit 1a14156206

View File

@ -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)