Skip to content

Commit 5234171

Browse files
committed
nha: increase hari client timeout
1 parent 5f99136 commit 5234171

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/nha/activities/hari.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import (
2121
)
2222

2323
var hariClient = &http.Client{
24-
Timeout: 10 * time.Second,
24+
// Unusual high value but needed since the server seems to be doing the indexing work synchronously.
25+
Timeout: 10 * time.Minute,
2526
Transport: &http.Transport{
2627
DialContext: (&net.Dialer{
2728
Timeout: 5 * time.Second,

0 commit comments

Comments
 (0)