lib/mongo/server/monitor.rb in mongo-2.15.1 vs lib/mongo/server/monitor.rb in mongo-2.16.0.alpha1

- old
+ new

@@ -213,10 +213,11 @@ def run_sdam_flow(result, awaited: false) @sdam_mutex.synchronize do old_description = server.description new_description = Description.new(server.address, result, - server.round_trip_time_averager.average_round_trip_time) + average_round_trip_time: server.round_trip_time_averager.average_round_trip_time + ) server.cluster.run_sdam_flow(server.description, new_description, awaited: awaited) server.description.tap do |new_description| unless awaited