Commit 79b00d29 authored by ThibG's avatar ThibG Committed by Eugen Rochko

Increase DNS timeouts (#10238)

parent 13a7f050
......@@ -171,7 +171,7 @@ class Request
outer_e = nil
Resolv::DNS.open do |dns|
dns.timeouts = 1
dns.timeouts = 5
addresses = dns.getaddresses(host).take(2)
time_slot = 10.0 / addresses.size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment