Skip to content

Commit

Permalink
nha: increase hari client timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Apr 5, 2020
1 parent 5f99136 commit 5234171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/nha/activities/hari.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import (
)

var hariClient = &http.Client{
Timeout: 10 * time.Second,
// Unusual high value but needed since the server seems to be doing the indexing work synchronously.
Timeout: 10 * time.Minute,
Transport: &http.Transport{
DialContext: (&net.Dialer{
Timeout: 5 * time.Second,
Expand Down

0 comments on commit 5234171

Please sign in to comment.