We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249134b commit 4b45bc5Copy full SHA for 4b45bc5
lib/mongo/server/description.rb
@@ -189,10 +189,7 @@ class Description
189
# call took to complete.
190
#
191
# @since 2.0.0
192
- def initialize(address, config = {}, average_round_trip_time = 0)
193
- if average_round_trip_time.nil?
194
- raise ArgumentError, 'Average round trip time cannot be nil'
195
- end
+ def initialize(address, config = {}, average_round_trip_time = nil)
196
@address = address
197
@config = config
198
unless unknown?
0 commit comments