about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-11-21 17:00:56 +0100
committerGitHub <noreply@github.com>2018-11-21 17:00:56 +0100
commit384e953b75abdb15333bf3053cc3d27be88a0cef (patch)
tree48aecfae3cd5a1283dd51a309d3a4b87bc276ceb /app/lib
parentc66739b418a7d3a2c85ebbce1b19bb0243c4e7f3 (diff)
Revert connect timeout from 1s to 10s (#9319)
The failure rate in Sidekiq is too high
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 73b495ce1..fdaaf3636 100644
--- a/app/lib/request.rb
+++ b/app/lib/request.rb
@@ -94,7 +94,7 @@ class Request
   end
 
   def timeout
-    { connect: 1, read: 10, write: 10 }
+    { connect: 10, read: 10, write: 10 }
   end
 
   def http_client