minor: ReplSet doc example update

This commit is contained in:
Tyler Brock 2012-02-22 13:47:10 -05:00
parent 85c8b18e23
commit 34ccb5cb58

View File

@ -4,7 +4,7 @@ require 'mongo'
cons = [] cons = []
10.times do 10.times do
cons << Mongo::Connection.multi([['localhost', 27017]], :read_secondary => true) cons << Mongo::ReplSetConnection(['localhost:27017'], :read => :secondary)
end end
ports = cons.map do |con| ports = cons.map do |con|