Browse Source
Revert connect timeout from 1s to 10s (#9319)
The failure rate in Sidekiq is too high
pull/4/head
Eugen Rochko
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|