about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-11 17:31:02 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-11 17:31:02 +0100
commitf3e76341565e9455b755dd9f0529b444c7081abc (patch)
treefabbdcab9a68f7b7b702b5652c71351c62c250c4 /app/lib
parenta1c6e6de1b42ea1ecfa2bb188ab56ee5f73611ce (diff)
parentc8122e84cc140f49d7bce0540b6e389781c0fdaf (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/request.rb2
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