lib/mongo/cluster.rb in mongo-2.11.2 vs lib/mongo/cluster.rb in mongo-2.11.3
- old
+ new
@@ -107,9 +107,11 @@
if options[:monitoring_io] == false && !options.key?(:cleanup)
options = options.dup
options[:cleanup] = false
end
+ seeds = seeds.uniq
+
@servers = []
@monitoring = monitoring
@event_listeners = Event::Listeners.new
@options = options.freeze
@app_metadata = Server::AppMetadata.new(@options)