diff options
author | ThibG <thib@sitedethib.com> | 2019-03-11 13:27:57 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-11 13:27:57 +0100 |
commit | 79b00d294d5098e530640f271d0b30dfb9bde9be (patch) | |
tree | dccb7581f1878e7d29a847a9716fed61f9537413 /app/lib/request.rb | |
parent | 13a7f05030cdcbab24aeb25944a9a430238dbff1 (diff) |
Increase DNS timeouts (#10238)
Diffstat (limited to 'app/lib/request.rb')
-rw-r--r-- | app/lib/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/request.rb b/app/lib/request.rb index ef4aeaf29..e555ae6a1 100644 --- a/app/lib/request.rb +++ b/app/lib/request.rb @@ -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 |