about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-11 17:52:18 +0100
committerGitHub <noreply@github.com>2019-03-11 17:52:18 +0100
commitc2857c976c7d4a8bbd02c3c18569913f2bf8a034 (patch)
treefabbdcab9a68f7b7b702b5652c71351c62c250c4 /app/lib
parenta1c6e6de1b42ea1ecfa2bb188ab56ee5f73611ce (diff)
parentf3e76341565e9455b755dd9f0529b444c7081abc (diff)
Merge pull request #955 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
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