lib/httpx/resolver/multi.rb in httpx-0.19.0 vs lib/httpx/resolver/multi.rb in httpx-0.19.1
- old
+ new
@@ -28,10 +28,10 @@
def closed?
@resolvers.all?(&:closed?)
end
def timeout
- @resolvers.map(&:timeout).min
+ @resolvers.filter_map(&:timeout).min
end
def close
@resolvers.each(&:close)
end